mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-27 00:35:27 -04:00
Hotfix for #570. Select password locking if an empty password is entered
This commit is contained in:
parent
dcece140a0
commit
c5cd4b6783
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ DatabaseOpenWidget::DatabaseOpenWidget(QWidget* parent)
|
||||||
m_ui->setupUi(this);
|
m_ui->setupUi(this);
|
||||||
|
|
||||||
m_ui->messageWidget->setHidden(true);
|
m_ui->messageWidget->setHidden(true);
|
||||||
|
m_ui->checkPassword->setChecked(true);
|
||||||
|
|
||||||
QFont font = m_ui->labelHeadline->font();
|
QFont font = m_ui->labelHeadline->font();
|
||||||
font.setBold(true);
|
font.setBold(true);
|
||||||
|
@ -138,7 +139,7 @@ void DatabaseOpenWidget::clearForms()
|
||||||
{
|
{
|
||||||
m_ui->editPassword->clear();
|
m_ui->editPassword->clear();
|
||||||
m_ui->comboKeyFile->clear();
|
m_ui->comboKeyFile->clear();
|
||||||
m_ui->checkPassword->setChecked(false);
|
m_ui->checkPassword->setChecked(true);
|
||||||
m_ui->checkKeyFile->setChecked(false);
|
m_ui->checkKeyFile->setChecked(false);
|
||||||
m_ui->checkChallengeResponse->setChecked(false);
|
m_ui->checkChallengeResponse->setChecked(false);
|
||||||
m_ui->buttonTogglePassword->setChecked(false);
|
m_ui->buttonTogglePassword->setChecked(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue