mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-02 09:10:51 -05:00
parent
db18a14cde
commit
63df00a723
1 changed files with 7 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue