From e0752e57d397577105575135b5b68dd6ef16c040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 30 Jun 2008 10:46:05 +0000 Subject: [PATCH] Subtract 1 from ElectricNone to fit the combobox index. This makes default button work correctly. svn path=/trunk/KDE/kdebase/workspace/; revision=826299 --- effects/desktopgrid_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/desktopgrid_config.cpp b/effects/desktopgrid_config.cpp index dbdf9e6057..610bb6770b 100644 --- a/effects/desktopgrid_config.cpp +++ b/effects/desktopgrid_config.cpp @@ -132,7 +132,7 @@ void DesktopGridEffectConfig::defaults() { kDebug() ; mSlide->setChecked(true); - mActivateCombo->setCurrentIndex( (int)ElectricNone ); + mActivateCombo->setCurrentIndex( (int)ElectricNone -1 ); mShortcutEditor->allDefault(); emit changed(true); }