From 6e6c09d5042b186497d3d3d70e072665b3d7de65 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Sun, 20 Jul 2008 13:00:51 +0000 Subject: [PATCH] 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 --- kcmkwin/kwincompositing/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kcmkwin/kwincompositing/main.cpp b/kcmkwin/kwincompositing/main.cpp index efece28029..28ac9a450a 100644 --- a/kcmkwin/kwincompositing/main.cpp +++ b/kcmkwin/kwincompositing/main.cpp @@ -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);