Fix reSelect entry & group on loadDb

This commit is contained in:
Bernhard
2020-10-17 00:42:59 +02:00
committed by Jonathan White
parent e8dfa9cfa1
commit 260c84ccf0

View File

@@ -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()) {