Fix crash on database open from browser (#9939)

This commit is contained in:
Sami Vänttinen 2023-10-24 06:08:41 +03:00 committed by Jonathan White
parent c5312d63f2
commit 7f33868d14
3 changed files with 11 additions and 3 deletions

View file

@ -115,7 +115,7 @@ bool BrowserService::openDatabase(bool triggerUnlock)
return true;
}
if (triggerUnlock) {
if (triggerUnlock && !m_bringToFrontRequested) {
m_bringToFrontRequested = true;
updateWindowState();
emit requestUnlock();