Sync tabs before saving.

Prevents settings of one tab from overwriting those of another one.

svn path=/trunk/KDE/kdebase/workspace/; revision=742683
This commit is contained in:
Rivo Laks 2007-11-28 15:42:40 +00:00
parent e12e7ac6de
commit 652713eac9

View file

@ -279,6 +279,10 @@ void KWinCompositingConfig::save()
{
kDebug() ;
// Sync tabs. Otherwise effect tab will overwrite changes of general tab
// unless user manually switches tabs before saving
currentTabChanged(ui.tabWidget->currentIndex() == 0 ? 1 : 0);
bool confirm = saveGeneralTab();
saveEffectsTab();