mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-23 15:00:47 -04:00
parent
deb0926497
commit
ff6c3d7d9a
5 changed files with 6 additions and 4 deletions
|
@ -328,6 +328,7 @@ void DatabaseOpenWidget::openDatabase()
|
|||
auto btn = msgBox->addButton(tr("Open database anyway"), QMessageBox::ButtonRole::AcceptRole);
|
||||
msgBox->setDefaultButton(btn);
|
||||
msgBox->addButton(QMessageBox::Cancel);
|
||||
msgBox->layout()->setSizeConstraint(QLayout::SetMinimumSize);
|
||||
msgBox->exec();
|
||||
if (msgBox->clickedButton() != btn) {
|
||||
m_db.reset(new Database());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue