backport r835329

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

svn path=/branches/KDE/4.1/kdebase/workspace/; revision=835330
This commit is contained in:
Sebastian Sauer 2008-07-20 13:00:51 +00:00
parent 18fdd89ea8
commit 6e6c09d504

View file

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