summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdm
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 /kcontrol/tdm
parent812398d8201533dee35c1b4d2a20b064a322cbdc (diff)
downloadtdebase-41e2702cbddb8c408b6f2492b3f943d6cac60705.tar.gz
tdebase-41e2702cbddb8c408b6f2492b3f943d6cac60705.zip
Fix prior commit
Diffstat (limited to 'kcontrol/tdm')
-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());
}