don't switch changed-state by just switching tabs
svn path=/trunk/KDE/kdebase/workspace/; revision=835311
This commit is contained in:
parent
fc777afc8f
commit
70c0a1a3c7
1 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,9 @@ void KWinCompositingConfig::initEffectSelector()
|
||||||
|
|
||||||
void KWinCompositingConfig::currentTabChanged(int tab)
|
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)
|
if (tab == 0)
|
||||||
{
|
{
|
||||||
// General tab was activated
|
// General tab was activated
|
||||||
|
@ -195,6 +198,7 @@ void KWinCompositingConfig::currentTabChanged(int tab)
|
||||||
saveGeneralTab();
|
saveGeneralTab();
|
||||||
loadEffectsTab();
|
loadEffectsTab();
|
||||||
}
|
}
|
||||||
|
blockSignals(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void KWinCompositingConfig::loadGeneralTab()
|
void KWinCompositingConfig::loadGeneralTab()
|
||||||
|
|
Loading…
Reference in a new issue