mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-26 11:21:13 -04:00
commit
7e1faadd11
1 changed files with 4 additions and 1 deletions
|
@ -120,7 +120,10 @@ void ChangeMasterKeyWidget::generateKey()
|
|||
FileKey fileKey;
|
||||
QString errorMsg;
|
||||
if (!fileKey.load(m_ui->keyFileCombo->currentText(), &errorMsg)) {
|
||||
// TODO: error handling
|
||||
MessageBox::critical(this, tr("Failed to set key file"),
|
||||
tr("Failed to set %1 as the Key file:\n%2")
|
||||
.arg(m_ui->keyFileCombo->currentText(), errorMsg));
|
||||
return;
|
||||
}
|
||||
m_key.addKey(fileKey);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue