NToggle should not manage its own state. Let the bindings do the job

This commit is contained in:
quadbyte 2025-08-15 23:26:41 -04:00
parent fc4bd796f1
commit 34f6affe4f

View file

@ -80,8 +80,7 @@ RowLayout {
root.exited()
}
onClicked: {
root.checked = !root.checked
root.toggled(root.checked)
root.toggled(!root.checked)
}
}
}