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:
parent
7b02a49ecc
commit
4b03bebe61
1 changed files with 4 additions and 2 deletions
|
@ -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 ) {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue