diff options
author | Timothy Pearson <[email protected]> | 2015-10-11 19:04:41 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2015-10-11 19:04:41 -0500 |
commit | 812398d8201533dee35c1b4d2a20b064a322cbdc (patch) | |
tree | cfb1fee1791cfa04cf378f8fa2e35083375db95b | |
parent | fce47f535c4a917821f01d6feda7073669198665 (diff) | |
download | tdebase-812398d8201533dee35c1b4d2a20b064a322cbdc.tar.gz tdebase-812398d8201533dee35c1b4d2a20b064a322cbdc.zip |
Fix SAK enable / disable checkbox in TDM TDEControl module
-rw-r--r-- | kcontrol/tdm/tdm-appear.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp index 8d3f848b5..cab603242 100644 --- a/kcontrol/tdm/tdm-appear.cpp +++ b/kcontrol/tdm/tdm-appear.cpp @@ -477,7 +477,12 @@ void TDMAppearanceWidget::save() config->writeEntry("Language", langcombo->current()); if (!sakwarning) { - config->setGroup("X-:*-Greeter"); + if (config->hasGroup("X-:*-Greeter")) { + config->setGroup("X-:*-Greeter"); + } + else { + config->setGroup("X-*-Greeter"); + } config->writeEntry("UseSAK", sakbox->isChecked()); } @@ -547,7 +552,12 @@ void TDMAppearanceWidget::load() // See if the SAK is enabled if (!sakwarning) { - config->setGroup("X-:*-Greeter"); + if (config->hasGroup("X-:*-Greeter")) { + config->setGroup("X-:*-Greeter"); + } + else { + config->setGroup("X-*-Greeter"); + } sakbox->setChecked(config->readBoolEntry("UseSAK", false)); } else { |