|
|
|
@ -286,9 +286,8 @@ KCM.GridViewKCM { |
|
|
|
ColorRadioButton { |
|
|
|
ColorRadioButton { |
|
|
|
id: customColorIndicator |
|
|
|
id: customColorIndicator |
|
|
|
|
|
|
|
|
|
|
|
property bool isCustomColor: root.accentColor ? |
|
|
|
property bool isCustomColor: root.accentColor |
|
|
|
!colorRepeater.model.some(color => Qt.colorEqual(color, root.accentColor)) |
|
|
|
&& !colorRepeater.model.some(color => Qt.colorEqual(color, root.accentColor)) |
|
|
|
: false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* The qt binding will keep the binding alive as well as uncheck the button |
|
|
|
/* The qt binding will keep the binding alive as well as uncheck the button |
|
|
|
* we can't just disable the button because then the icon will become grey |
|
|
|
* we can't just disable the button because then the icon will become grey |
|
|
|
|