Enable buttons correctly at startup.
svn path=/trunk/KDE/kdebase/workspace/; revision=745636
This commit is contained in:
parent
e21a0778fd
commit
f751d02384
1 changed files with 3 additions and 5 deletions
|
@ -168,12 +168,10 @@ void KCMRulesList::load()
|
|||
rules_listbox->addItem( rule->description );
|
||||
}
|
||||
if( rules.count() > 0 )
|
||||
rules_listbox->item(0)->setSelected( true );
|
||||
rules_listbox->setCurrentItem( rules_listbox->item( 0 ));
|
||||
else
|
||||
{
|
||||
rules_listbox->setCurrentItem(0L);
|
||||
activeChanged();
|
||||
}
|
||||
rules_listbox->setCurrentItem( NULL );
|
||||
activeChanged();
|
||||
}
|
||||
|
||||
void KCMRulesList::save()
|
||||
|
|
Loading…
Reference in a new issue