A while ago I optimized Plasma config dialogs to create the component with the cfg_ properties already set. This code relied on the fact that mode changes initially. Use Component.onCompleted now that we can and also use onActivated which only fires if the index is explicitly changed by the user, not on imperative assignment.
Details
Details
- Reviewers
hein - Group Reviewers
Plasma - Commits
- R119:4bf0358af9b8: [Folder View Icons Config] Fix initial index of ComboBox
Changed sorting to "Name" or "Size", closed dialog, opened it, was still selected. Previously it would always revert to "Unsorted"
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.