Sync tabs before saving.

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

svn path=/trunk/KDE/kdebase/workspace/; revision=742683
icc-effect-5.14.5
Rivo Laks 2007-11-28 15:42:40 +00:00
parent e12e7ac6de
commit 652713eac9
1 changed files with 4 additions and 0 deletions

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();