Fix reSelect entry & group on loadDb
This commit is contained in:
@@ -1081,6 +1081,9 @@ void DatabaseWidget::loadDatabase(bool accepted)
|
|||||||
replaceDatabase(openWidget->database());
|
replaceDatabase(openWidget->database());
|
||||||
switchToMainView();
|
switchToMainView();
|
||||||
processAutoOpen();
|
processAutoOpen();
|
||||||
|
restoreGroupEntryFocus(m_groupBeforeLock, m_entryBeforeLock);
|
||||||
|
m_groupBeforeLock = QUuid();
|
||||||
|
m_entryBeforeLock = QUuid();
|
||||||
m_saveAttempts = 0;
|
m_saveAttempts = 0;
|
||||||
emit databaseUnlocked();
|
emit databaseUnlocked();
|
||||||
if (config()->get(Config::MinimizeAfterUnlock).toBool()) {
|
if (config()->get(Config::MinimizeAfterUnlock).toBool()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user