mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-07 20:31:31 +00:00
NToggle should not manage its own state. Let the bindings do the job
This commit is contained in:
+1
-2
@@ -80,8 +80,7 @@ RowLayout {
|
||||
root.exited()
|
||||
}
|
||||
onClicked: {
|
||||
root.checked = !root.checked
|
||||
root.toggled(root.checked)
|
||||
root.toggled(!root.checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user