NToggle should not manage its own state. Let the bindings do the job
This commit is contained in:
parent
fc4bd796f1
commit
34f6affe4f
1 changed files with 1 additions and 2 deletions
|
|
@ -80,8 +80,7 @@ RowLayout {
|
|||
root.exited()
|
||||
}
|
||||
onClicked: {
|
||||
root.checked = !root.checked
|
||||
root.toggled(root.checked)
|
||||
root.toggled(!root.checked)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue