diff --git a/src/app/settingsview/components/ToggleSwitch.qml b/src/app/settingsview/components/ToggleSwitch.qml index bab9d70d8c5fcc37ed17de82b32fd63c028159f2..73857190a0dcf997c22f6d53e57d118ac6c35e8a 100644 --- a/src/app/settingsview/components/ToggleSwitch.qml +++ b/src/app/settingsview/components/ToggleSwitch.qml @@ -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() } } }