summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/listedit.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/listedit.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/listedit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/listedit.cpp b/noncore/apps/checkbook/listedit.cpp
index 99a6531..37f05f0 100644
--- a/noncore/apps/checkbook/listedit.cpp
+++ b/noncore/apps/checkbook/listedit.cpp
@@ -116,6 +116,10 @@ void ListEdit::slotAdd()
QPoint pnt;
slotClick(_currentItem, pnt, 0);
_typeTable->setSelected( _currentItem, true );
+
+ // make it selected
+ _typeEdit->setCursorPosition(0);
+ _typeEdit->setSelection(0, _typeEdit->text().length() );
}
// --- slotDel -------------------------------------------------------------