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 committed 2014-01-13 00:24:29 +01:00
1 parent 350cf4b00a
commit 6f3648d63e
1 file changed
+2 -2
+2 -2
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();