Uncheck the correct widget in ChangeMasterKeyWidget.

We want to enable the password group but mask the password in the line edit.
This commit is contained in:
Felix Geyer 2014-01-13 00:13:10 +01:00
parent 350cf4b00a
commit 6f3648d63e

View File

@ -74,11 +74,11 @@ void ChangeMasterKeyWidget::clearForms()
{
m_key.clear();
m_ui->passwordGroup->setChecked(false);
m_ui->passwordGroup->setChecked(true);
m_ui->enterPasswordEdit->setText("");
m_ui->repeatPasswordEdit->setText("");
m_ui->keyFileGroup->setChecked(false);
m_ui->togglePasswordButton->setChecked(true);
m_ui->togglePasswordButton->setChecked(false);
// TODO: clear m_ui->keyFileCombo
m_ui->enterPasswordEdit->setFocus();