Force at least one encryption key (no more unencrypted databases)

This commit is contained in:
Janek Bevendorff 2017-02-21 01:28:50 +01:00
parent b2650c5a96
commit 8e91a89a37
No known key found for this signature in database
GPG key ID: CFEC2F6850BFFA53
3 changed files with 30 additions and 24 deletions

View file

@ -123,8 +123,6 @@ void DatabaseOpenWidget::load(const QString& filename)
pollYubikey();
#endif
m_ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true);
m_ui->editPassword->setFocus();
}