mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
parent
db18a14cde
commit
63df00a723
1 changed files with 7 additions and 0 deletions
|
|
@ -938,6 +938,13 @@ void MainWindow::updateWindowTitle()
|
||||||
void MainWindow::showAboutDialog()
|
void MainWindow::showAboutDialog()
|
||||||
{
|
{
|
||||||
auto* aboutDialog = new AboutDialog(this);
|
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();
|
aboutDialog->open();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue