mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
@@ -938,6 +938,13 @@ void MainWindow::updateWindowTitle()
|
||||
void MainWindow::showAboutDialog()
|
||||
{
|
||||
auto* aboutDialog = new AboutDialog(this);
|
||||
// Auto close the about dialog before attempting database locks
|
||||
if (m_ui->tabWidget->currentDatabaseWidget()) {
|
||||
connect(m_ui->tabWidget->currentDatabaseWidget(),
|
||||
&DatabaseWidget::databaseLockRequested,
|
||||
aboutDialog,
|
||||
&AboutDialog::close);
|
||||
}
|
||||
aboutDialog->open();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user