From 8dbae452004e7bc3c3a6e855f365b9bb348e8f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sat, 27 Aug 2011 19:27:11 +0200 Subject: Update last used certificate file correctly. Resolves: #963 Release-Notes: Remember last used certificate file correctly. 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() != ""); } -- cgit v0.10.2-6-g49f6