Skip to content
Snippets Groups Projects
Commit db5b8e09 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

ToggleSwitch: fix signal emission

Change-Id: I06e84a6c71cb3ca1918a0df372ab4df950f0cbae
parent 68fe716c
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,9 @@ RowLayout {
target: parent
enabled: parent.visible
onTapped: function onTapped(eventPoint) {
// switchToggled should be emitted as onToggled is not called (because it's only called if the user click on the switch)
switchOfLayout.checked = !switchOfLayout.checked
switchToggled()
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment