From feae469cb29fdef8b1df36ea7e80efdaf9c8d814 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 11 Oct 2015 19:07:37 -0500 Subject: Fix prior commit (cherry picked from commit 41e2702cbddb8c408b6f2492b3f943d6cac60705) --- kcontrol/tdm/tdm-appear.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'kcontrol/tdm') 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()); } -- cgit v1.2.1