From 6f3648d63e70b9b4a34682d2f9ddcbb5b207bd7b Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Mon, 13 Jan 2014 00:13:10 +0100 Subject: [PATCH] Uncheck the correct widget in ChangeMasterKeyWidget. We want to enable the password group but mask the password in the line edit. --- src/gui/ChangeMasterKeyWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/ChangeMasterKeyWidget.cpp b/src/gui/ChangeMasterKeyWidget.cpp index b6786f5c..e0dd06fd 100644 --- a/src/gui/ChangeMasterKeyWidget.cpp +++ b/src/gui/ChangeMasterKeyWidget.cpp @@ -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();