switch to general tab before setting defauls else the defaults are not set.

svn path=/trunk/KDE/kdebase/workspace/; revision=835329
This commit is contained in:
Sebastian Sauer 2008-07-20 12:59:23 +00:00
parent 70c0a1a3c7
commit 6792f27535

View file

@ -336,6 +336,8 @@ void KWinCompositingConfig::configChanged()
void KWinCompositingConfig::defaults()
{
ui.tabWidget->setCurrentIndex(0);
ui.useCompositing->setChecked(mDefaultPrefs.enableCompositing());
ui.effectWinManagement->setChecked(true);
ui.effectShadows->setChecked(true);