[Folder View Icons Config] Fix initial index of ComboBox

Authored by broulik on Sep 14 2017, 8:22 AM.

Description

[Folder View Icons Config] Fix initial index of ComboBox

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.

Differential Revision: https://phabricator.kde.org/D7733

Details

Committed
broulikSep 14 2017, 8:22 AM
Differential Revision
D7733: [Folder View Icons Config] Fix initial index of ComboBox
Parents
R119:12e3ec4390e4: Update version number for 5.10.95 GIT_SILENT
Branches
Unknown
Tags
Unknown