summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kcontrol/tdm/tdm-appear.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp
index cab603242..b2a9a834a 100644
--- a/kcontrol/tdm/tdm-appear.cpp
+++ b/kcontrol/tdm/tdm-appear.cpp
@@ -477,12 +477,9 @@ void TDMAppearanceWidget::save()
config->writeEntry("Language", langcombo->current());
if (!sakwarning) {
- if (config->hasGroup("X-:*-Greeter")) {
- config->setGroup("X-:*-Greeter");
- }
- else {
- config->setGroup("X-*-Greeter");
- }
+ config->setGroup("X-:*-Greeter");
+ config->writeEntry("UseSAK", sakbox->isChecked());
+ config->setGroup("X-*-Greeter");
config->writeEntry("UseSAK", sakbox->isChecked());
}