Fix reSelect entry & group on loadDb

This commit is contained in:
Bernhard authored and Jonathan White committed 2020-12-11 00:11:18 -05:00
1 parent 5ea46d4c12
commit c9e7ffadad
1 file changed
+3
+3
View File
@@ -1081,6 +1081,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()) {