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:
parent
e12e7ac6de
commit
652713eac9
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue