summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-08-27 17:27:11 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-08-27 17:28:10 (GMT)
commit8dbae452004e7bc3c3a6e855f365b9bb348e8f2d (patch)
tree7ca84246b782246ecda14a6d48633115b727e58a /Swift
parent6137a266fd5f8d5953f7fa4baeee339d27f0caee (diff)
downloadswift-8dbae452004e7bc3c3a6e855f365b9bb348e8f2d.zip
swift-8dbae452004e7bc3c3a6e855f365b9bb348e8f2d.tar.bz2
Update last used certificate file correctly.
Resolves: #963 Release-Notes: Remember last used certificate file correctly.
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 d0ab61e..fc92792 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -273,7 +273,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() != "");
}