Commit 8b0caf4e authored by Benjamin Port's avatar Benjamin Port

Fix highlight settings tool button use onToggled to prevent bad state

bugs: 427869
parent f8f235cc
......@@ -203,7 +203,7 @@ Kirigami.ScrollablePage {
text: i18nc("Action to show indicators for settings with custom data. Use as short a translation as is feasible, as horizontal space is limited.", "Highlight Changed Settings")
icon.name: "draw-highlight"
onClicked: systemsettings.toggleDefaultsIndicatorsVisibility()
onToggled: systemsettings.toggleDefaultsIndicatorsVisibility()
checkable: true
checked: systemsettings.defaultsIndicatorsVisible
}
......
......@@ -163,7 +163,7 @@ Kirigami.ScrollablePage {
}
text: i18nc("Action to show indicators for settings with custom data", "Highlight Changed Settings")
icon.name: "draw-highlight"
onClicked: systemsettings.toggleDefaultsIndicatorsVisibility()
onToggled: systemsettings.toggleDefaultsIndicatorsVisibility()
checkable: true
checked: systemsettings.defaultsIndicatorsVisible
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment