From 41e2702cbddb8c408b6f2492b3f943d6cac60705 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 11 Oct 2015 19:07:37 -0500 Subject: [PATCH] Fix prior commit --- kcontrol/tdm/tdm-appear.cpp | 9 +++------ 1 file 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()); }