Select newly created entries.

This commit is contained in:
Florian Geyer 2012-05-02 19:33:37 +02:00
parent 8122ab2b2c
commit 09248fdb14
5 changed files with 16 additions and 0 deletions

View file

@ -223,6 +223,8 @@ void DatabaseWidget::switchToView(bool accepted)
else if (m_newEntry) {
if (accepted) {
m_newEntry->setGroup(m_newParent);
m_entryView->setFocus();
m_entryView->setCurrentEntry(m_newEntry);
}
else {
delete m_newEntry;