summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-10-11 19:07:37 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-10-12 03:35:35 +0200
commitfeae469cb29fdef8b1df36ea7e80efdaf9c8d814 (patch)
treeecaef8543ff05c7b2111749e1d62da1c20686350 /kcontrol
parent15d41e47bbb534f5fe6eb33809ee8d311070ea12 (diff)
downloadtdebase-feae469cb29fdef8b1df36ea7e80efdaf9c8d814.tar.gz
tdebase-feae469cb29fdef8b1df36ea7e80efdaf9c8d814.zip
Fix prior commit
(cherry picked from commit 41e2702cbddb8c408b6f2492b3f943d6cac60705)
Diffstat (limited to 'kcontrol')
-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());
}