summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/shared/settings.cpp')
-rw-r--r--khotkeys/shared/settings.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/khotkeys/shared/settings.cpp b/khotkeys/shared/settings.cpp
index 76adac6b9..becacd5d1 100644
--- a/khotkeys/shared/settings.cpp
+++ b/khotkeys/shared/settings.cpp
@@ -145,9 +145,11 @@ void Settings::write_settings()
gestures_exclude->cfg_write( cfg );
}
else
+ {
cfg.deleteGroup( "GesturesExclude" );
- cfg.setGroup( "Voice" );
- cfg.writeEntry("Shortcut" , voice_shortcut.toStringInternal() );
+ }
+ cfg.setGroup( "Voice" );
+ cfg.writeEntry("Shortcut" , voice_shortcut.toStringInternal() );
}