Commit cee4ba93 authored by Benjamin Port's avatar Benjamin Port Committed by Nate Graham
Browse files

Fix highlight settings tool button use onToggled to prevent bad state

BUG: 427869
(cherry picked from commit 8b0caf4e)
parent ca5a4e14
......@@ -210,7 +210,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
}
......
......@@ -195,7 +195,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