-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 | |||
@@ -141,12 +141,13 @@ void CategoryEdit::slotAdd() | |||
141 | chk->setText( 1, tr(d->mVisible) ); | 141 | chk->setText( 1, tr(d->mVisible) ); |
142 | else | 142 | else |
143 | chk->setText( 1, tr("All") ); | 143 | chk->setText( 1, tr("All") ); |
144 | 144 | ||
145 | lvView->setSelected( chk, TRUE ); | 145 | lvView->setSelected( chk, TRUE ); |
146 | txtCat->selectAll(); | 146 | txtCat->selectAll(); |
147 | txtCat->setFocus(); | ||
147 | } | 148 | } |
148 | 149 | ||
149 | void CategoryEdit::slotRemove() | 150 | void CategoryEdit::slotRemove() |
150 | { | 151 | { |
151 | d->editItem = lvView->selectedItem(); | 152 | d->editItem = lvView->selectedItem(); |
152 | if ( d->editItem ) { | 153 | if ( d->editItem ) { |