From 6523942e553ef2854f32b245aaffa49b743beac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 14 Dec 2013 20:47:34 +0100 Subject: Fix saving kicker settins in wrong section --- kcontrol/kicker/menutab_impl.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp index 5ba9dd54f..571365a55 100644 --- a/kcontrol/kicker/menutab_impl.cpp +++ b/kcontrol/kicker/menutab_impl.cpp @@ -229,10 +229,13 @@ void MenuTab::save() } } c->writeEntry("Extensions", ext); - c->setGroup("General"); + c->setGroup("General"); bool kmenusetting = m_comboMenuStyle->currentItem()==1; bool oldkmenusetting = c->readBoolEntry("LegacyKMenu", true); + c->writeEntry("LegacyKMenu", kmenusetting); + c->writeEntry("OpenOnHover", m_openOnHover->isChecked()); + c->sync(); c->setGroup("KMenu"); bool oldmenutextenabledsetting = c->readBoolEntry("ShowText", true); @@ -241,10 +244,6 @@ void MenuTab::save() c->setGroup("buttons"); TQFont oldmenufontsetting = c->readFontEntry("Font"); - c->writeEntry("LegacyKMenu", kmenusetting); - c->writeEntry("OpenOnHover", m_openOnHover->isChecked()); - c->sync(); - if (kmenusetting != oldkmenusetting) { forceRestart = true; } -- cgit v1.2.1