summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-09-14 16:42:12 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-09-14 16:42:12 (GMT)
commit9ecba612d790c1f613dc959888f62e5d3575faae (patch)
tree0a61e2bba603cface2abd946a4d2f426a703aba3
parent6efbed866f78e0bdd685817d9ed80405a2bf55d7 (diff)
downloadswift-contrib-9ecba612d790c1f613dc959888f62e5d3575faae.zip
swift-contrib-9ecba612d790c1f613dc959888f62e5d3575faae.tar.bz2
Don't tick 'Remember Password' when editing a JID.
Resolves: #499
-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() {