File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
package/contents/ui/config Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ KCM.SimpleKCM {
60
60
ComboBox {
61
61
id: widgetButtonsIconsTheme
62
62
63
- Kirigami .FormData .label : i18n (" Icons theme :" )
63
+ Kirigami .FormData .label : i18n (" Button icons source :" )
64
64
Layout .minimumWidth : Kirigami .Units .gridUnit * 15
65
65
model: [i18n (" Plasma: Global icon theme" ), i18n (" Breeze: Implicit Breeze icons" ), i18n (" Aurorae: Window decorations theme" )]
66
66
}
@@ -76,17 +76,16 @@ KCM.SimpleKCM {
76
76
}
77
77
78
78
Layout .minimumWidth : Kirigami .Units .gridUnit * 15
79
- enabled: widgetButtonsIconsTheme .currentIndex == 2
79
+ enabled: widgetButtonsIconsTheme .currentIndex == 2 && model . count > 0
80
80
Component .onCompleted : updateCurrentIndex ()
81
81
onActivated: cfg_widgetButtonsAuroraeTheme = currentValue
82
- displayText: !! currentText ? currentText : (model .count ) > 0 ? i18n (" <Select Aurorae theme>" ) : i18n (" <Aurorae themes not found>" )
82
+ displayText: !! currentText ? currentText : (model .count > 0 ) ? i18n (" <Select Aurorae theme>" ) : i18n (" <Aurorae themes not found>" )
83
83
textRole: " name"
84
84
valueRole: " folder"
85
85
model: kWinConfig .auroraeThemes
86
86
}
87
87
88
88
KCM .ContextualHelpButton {
89
- enabled: widgetButtonsIconsTheme .currentIndex == 2
90
89
toolTipText: i18n (" Some window decoration themes <br/>
91
90
(e.g. Breeze or Plastic) could be installed <br/>
92
91
in your system as binary libraries and <br/>
You can’t perform that action at this time.
0 commit comments