mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-17 13:02:49 -05:00
Properly handle a missing key filename.
This commit is contained in:
parent
107c0673c7
commit
aff935b3c7
@ -51,6 +51,7 @@ void DatabaseRepairWidget::openDatabase()
|
||||
if (!key.load(keyFilename, &errorMsg)) {
|
||||
MessageBox::warning(this, tr("Error"), tr("Can't open key file").append(":\n").append(errorMsg));
|
||||
Q_EMIT editFinished(false);
|
||||
return;
|
||||
}
|
||||
masterKey.addKey(key);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user