summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index c350464..1796b0e 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -225,12 +225,12 @@ void QtLoginWindow::handleUsernameTextChanged() {
if (username_->currentText() == usernames_[i]) {
certificateFile_ == certificateFiles_[i];
password_->setText(passwords_[i]);
+ remember_->setChecked(password_->text() != "");
}
}
if (!certificateFile_.isEmpty()) {
certificateButton_->setChecked(true);
}
- remember_->setChecked(password_->text() != "");
}
void QtLoginWindow::loggedOut() {