summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-08-21 18:44:09 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-08-21 18:44:09 (GMT)
commit6a9fde79c23e8108d2ca19deba4d5e9082917888 (patch)
tree6f66508c49db0a2a082ccd5b5340905dc09b99ff /Swift
parent6dc34a78b9e392b7a089dc4ec5100b0061fd88eb (diff)
downloadswift-6a9fde79c23e8108d2ca19deba4d5e9082917888.zip
swift-6a9fde79c23e8108d2ca19deba4d5e9082917888.tar.bz2
Select correct cert when selecting different login JID
Resolves: #963
Diffstat (limited to 'Swift')
-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 2514259..475863c 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -284,7 +284,7 @@ void QtLoginWindow::handleUsernameTextChanged() {
QString username = username_->currentText();
for (int i = 0; i < usernames_.count(); i++) {
if (username_->currentText() == usernames_[i]) {
- certificateFile_ == certificateFiles_[i];
+ certificateFile_ = certificateFiles_[i];
password_->setText(passwords_[i]);
remember_->setChecked(password_->text() != "");
}