Don't try to apply the services-settings, if they have not even been shown. This fixes the issue that the version-control settings get reset when changing another setting.

svn path=/trunk/KDE/kdebase/apps/; revision=1195364
This commit is contained in:
Peter Penz 2010-11-10 22:27:06 +00:00
parent b1c5243645
commit 36f224757a

View file

@ -86,6 +86,10 @@ ServicesSettingsPage::~ServicesSettingsPage()
void ServicesSettingsPage::applySettings()
{
if (!m_initialized) {
return;
}
// Apply service menu settingsentries
KConfig config("kservicemenurc", KConfig::NoGlobals);
KConfigGroup showGroup = config.group("Show");