Fix focus loss when using Auto-Type from locked database

* Fixes #10439
This commit is contained in:
Jonathan White 2024-04-05 19:27:35 -04:00
parent dbc7f020fd
commit 381eb76f7b
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
3 changed files with 18 additions and 17 deletions

View file

@ -57,7 +57,7 @@ DatabaseTabWidget::DatabaseTabWidget(QWidget* parent)
m_dbWidgetStateSync, SLOT(setActive(DatabaseWidget*)));
connect(autoType(), SIGNAL(globalAutoTypeTriggered(const QString&)), SLOT(performGlobalAutoType(const QString&)));
connect(autoType(), SIGNAL(autotypeRetypeTimeout()), SLOT(relockPendingDatabase()));
connect(autoType(), SIGNAL(autotypeRejected()), SLOT(relockPendingDatabase()));
connect(autoType(), SIGNAL(autotypeFinished()), SLOT(relockPendingDatabase()));
connect(m_databaseOpenDialog.data(), &DatabaseOpenDialog::dialogFinished,
this, &DatabaseTabWidget::handleDatabaseUnlockDialogFinished);
// clang-format on