diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-09-14 16:42:12 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-09-14 16:42:12 (GMT) |
commit | 9ecba612d790c1f613dc959888f62e5d3575faae (patch) | |
tree | 0a61e2bba603cface2abd946a4d2f426a703aba3 | |
parent | 6efbed866f78e0bdd685817d9ed80405a2bf55d7 (diff) | |
download | swift-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.cpp | 2 |
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() { |