mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-29 01:06:27 -05:00
commit
7e1faadd11
@ -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…
Reference in New Issue
Block a user