don't switch changed-state by just switching tabs

svn path=/trunk/KDE/kdebase/workspace/; revision=835311
icc-effect-5.14.5
Sebastian Sauer 2008-07-20 12:38:33 +00:00
parent fc777afc8f
commit 70c0a1a3c7
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,9 @@ void KWinCompositingConfig::initEffectSelector()
void KWinCompositingConfig::currentTabChanged(int tab)
{
// block signals to don't emit the changed()-signal by just switching the current tab
blockSignals(true);
// write possible changes done to synchronize effect checkboxes and selector
if (tab == 0)
{
// General tab was activated
@ -195,6 +198,7 @@ void KWinCompositingConfig::currentTabChanged(int tab)
saveGeneralTab();
loadEffectsTab();
}
blockSignals(false);
}
void KWinCompositingConfig::loadGeneralTab()