aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/status/LockRow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/status/LockRow.qml')
-rw-r--r--desktop/modules/status/LockRow.qml5
1 files changed, 0 insertions, 5 deletions
diff --git a/desktop/modules/status/LockRow.qml b/desktop/modules/status/LockRow.qml
index c59c2f1..0e711d8 100644
--- a/desktop/modules/status/LockRow.qml
+++ b/desktop/modules/status/LockRow.qml
@@ -105,9 +105,4 @@ Item {
onToggled: row.apply(!row.lockOn)
}
}
-
- // The shared Switch's click handler writes `checked` directly, which drops
- // the declarative binding above. Resync on any state change so the timer,
- // statusctl or presentation mode moves the switch back into agreement.
- onLockOnChanged: sw.checked = row.lockOn
}