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,13 +168,11 @@ 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);
|
||||
rules_listbox->setCurrentItem( NULL );
|
||||
activeChanged();
|
||||
}
|
||||
}
|
||||
|
||||
void KCMRulesList::save()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue