Usability:

Set a sane default to the timeout when the user selects the option for the
first time.

svn path=/trunk/kdebase/kwin/; revision=245892
This commit is contained in:
Thomas Zander 2003-08-28 10:14:46 +00:00
parent 7b02a49ecc
commit 4b03bebe61

View file

@ -294,15 +294,17 @@ void KFocusConfig::setAutoRaiseEnabled()
}
//CT 23Oct1998 make AutoRaise toggling much clear
void KFocusConfig::autoRaiseOnTog(bool a) {
autoRaise->setEnabled(a);
clickRaiseOn->setEnabled( !a );
if ( a )
{
clickRaiseOn->setChecked( TRUE );
if(getAutoRaiseInterval() == 0)
setAutoRaiseInterval(750);
}
}
//CT
void KFocusConfig::clickRaiseOnTog(bool ) {
}