diff options
author | Bernhard <34011017+Colfenor@users.noreply.github.com> | 2020-10-17 01:42:59 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-12-20 17:12:59 +0300 |
commit | 260c84ccf0ba91223ca844ea705808f4b3fd1fd7 (patch) | |
tree | b516bbd2a6402a255ca7f4a2b53034ff1bd7cb42 /src/gui/DatabaseWidget.cpp | |
parent | e8dfa9cfa1ce72fdb0b85e5f62ad98fd0173364e (diff) |
Fix reSelect entry & group on loadDb
Diffstat (limited to 'src/gui/DatabaseWidget.cpp')
-rw-r--r-- | src/gui/DatabaseWidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index 3846db76b..28d3aedd7 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -1084,6 +1084,9 @@ void DatabaseWidget::loadDatabase(bool accepted) replaceDatabase(openWidget->database()); switchToMainView(); processAutoOpen(); + restoreGroupEntryFocus(m_groupBeforeLock, m_entryBeforeLock); + m_groupBeforeLock = QUuid(); + m_entryBeforeLock = QUuid(); m_saveAttempts = 0; emit databaseUnlocked(); if (config()->get(Config::MinimizeAfterUnlock).toBool()) { |