summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-10-04 18:20:42 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-10-04 18:20:42 (GMT)
commitf2009dabdf83fb6a5151a3b5b1277edbe79f0ad2 (patch)
treefe516ff1a3bf22028a924ff258328a28d35b29d0 /Swift/QtUI
parent7e72c9caae6c522f6c64b357434396b633876509 (diff)
downloadswift-f2009dabdf83fb6a5151a3b5b1277edbe79f0ad2.zip
swift-f2009dabdf83fb6a5151a3b5b1277edbe79f0ad2.tar.bz2
Handle errors during initial login correctly.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index a7c9740..23eece6 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -147,6 +147,7 @@ void QtLoginWindow::loggedOut() {
void QtLoginWindow::loginClicked() {
setEnabled(false);
+ message_->setText("");
onLoginRequest(Q2PSTRING(username_->currentText()), Q2PSTRING(password_->text()), Q2PSTRING(certificateFile_), remember_->isChecked());
}