Skip to content

Commit

Permalink
Fix crash when multiple dbus unlock calls are issued
Browse files Browse the repository at this point in the history
* Fixes #11512
  • Loading branch information
droidmonkey committed Nov 29, 2024
1 parent bf856d2 commit c157d9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/DatabaseOpenWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ QString DatabaseOpenWidget::filename()

void DatabaseOpenWidget::enterKey(const QString& pw, const QString& keyFile)
{
if (unlockingDatabase()) {
qWarning("Ignoring unlock request for %s because of running unlock action.", qPrintable(m_filename));
return;
}

m_ui->editPassword->setText(pw);
m_ui->keyFileLineEdit->setText(keyFile);
m_blockQuickUnlock = true;
Expand Down

0 comments on commit c157d9c

Please sign in to comment.