summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kcontrol/kicker/menutab_impl.cpp9
1 files changed, 4 insertions, 5 deletions
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;
}