From 6792f2753514688d32f625456e3deda9dd47b932 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Sun, 20 Jul 2008 12:59:23 +0000 Subject: [PATCH] switch to general tab before setting defauls else the defaults are not set. svn path=/trunk/KDE/kdebase/workspace/; revision=835329 --- kcmkwin/kwincompositing/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kcmkwin/kwincompositing/main.cpp b/kcmkwin/kwincompositing/main.cpp index 3d0261124f..38799cf79b 100644 --- a/kcmkwin/kwincompositing/main.cpp +++ b/kcmkwin/kwincompositing/main.cpp @@ -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);