Subtract 1 from ElectricNone to fit the combobox index. This makes default button work correctly.

svn path=/trunk/KDE/kdebase/workspace/; revision=826299
This commit is contained in:
Martin Gräßlin 2008-06-30 10:46:05 +00:00
parent 988f852363
commit e0752e57d3

View file

@ -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);
}