mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kcm: Fix settings not being saved
This commit is contained in:
parent
62e7dce24a
commit
a18313b447
1 changed files with 4 additions and 4 deletions
|
|
@ -42,8 +42,8 @@ KCM.SimpleKCM {
|
|||
description: i18n("Whether to have vibrations enabled in the shell.")
|
||||
checked: MobileShell.MobileShellSettings.vibrationsEnabled
|
||||
onCheckedChanged: {
|
||||
if (checked != !MobileShell.MobileShellSettings.vibrationsEnabled) {
|
||||
MobileShell.MobileShellSettings.vibrationsEnabled = !checked;
|
||||
if (checked != MobileShell.MobileShellSettings.vibrationsEnabled) {
|
||||
MobileShell.MobileShellSettings.vibrationsEnabled = checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -53,8 +53,8 @@ KCM.SimpleKCM {
|
|||
description: i18n("If this is off, animations will be reduced as much as possible.")
|
||||
checked: MobileShell.MobileShellSettings.animationsEnabled
|
||||
onCheckedChanged: {
|
||||
if (checked != !MobileShell.MobileShellSettings.animationsEnabled) {
|
||||
MobileShell.MobileShellSettings.animationsEnabled = !checked;
|
||||
if (checked != MobileShell.MobileShellSettings.animationsEnabled) {
|
||||
MobileShell.MobileShellSettings.animationsEnabled = checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue