kcm: Fix missing property

This commit is contained in:
Devin Lin 2022-03-17 16:08:28 -04:00
parent 31ae31737c
commit b57b26803d

View file

@ -41,7 +41,7 @@ KCM.SimpleKCM {
text: i18n("Gesture-only Mode")
description: i18n("Whether to hide the navigation panel.")
checked: !kcm.navigationPanelEnabled
switchControl.onCheckStateChanged: {
onCheckedChanged: {
if (checked != !kcm.navigationPanelEnabled) {
kcm.navigationPanelEnabled = !checked;
}