@ -481,7 +481,11 @@ PlasmaComponents.Page {
id: indicatorStyleGroup
onCurrentChanged: {
if (current.checked) {
latteView.indicator.type = current.type
if (current === customIndicator.button) {
latteView.indicator.type = customIndicator.type
} else {
}
@ -509,6 +513,7 @@ PlasmaComponents.Page {
LatteExtraControls.CustomIndicatorButton {
id: customIndicator
Layout.fillWidth: true
checked: parent.type === type
checkable: true
@ -26,6 +26,7 @@ import org.kde.latte.components 1.0 as LatteComponents
LatteComponents.ComboBoxButton{
id: custom
buttonText: "Unity"
comboBoxTextRole: "name"
comboBoxIconRole: "icon"
@ -58,7 +59,7 @@ LatteComponents.ComboBoxButton{
comboBox.model = actionsModel;
if (latteView.indicator.customPluginsCount > 0) {
if (custom.type === latteView.indicator.type) {
comboBox.currentIndex = 0;
comboBox.currentIndex = -1;