summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2015-10-11 19:07:37 -0500
committerTimothy Pearson <[email protected]>2015-10-11 19:07:37 -0500
commit41e2702cbddb8c408b6f2492b3f943d6cac60705 (patch)
tree582899519692169bd29624261228846292d4a2d5
parent812398d8201533dee35c1b4d2a20b064a322cbdc (diff)
downloadtdebase-41e2702cbddb8c408b6f2492b3f943d6cac60705.tar.gz
tdebase-41e2702cbddb8c408b6f2492b3f943d6cac60705.zip
Fix prior commit
-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());
}