-rw-r--r-- | library/categoryedit_p.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/categoryedit_p.cpp b/library/categoryedit_p.cpp index 07e707e..9321259 100644 --- a/library/categoryedit_p.cpp +++ b/library/categoryedit_p.cpp @@ -139,16 +139,17 @@ void CategoryEdit::slotAdd() chk = new QCheckListItem( lvView, name, QCheckListItem::CheckBox ); if ( !chkGlobal->isChecked() ) chk->setText( 1, tr(d->mVisible) ); else chk->setText( 1, tr("All") ); lvView->setSelected( chk, TRUE ); txtCat->selectAll(); + txtCat->setFocus(); } void CategoryEdit::slotRemove() { d->editItem = lvView->selectedItem(); if ( d->editItem ) { QListViewItem *sibling = d->editItem->nextSibling(); |