summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-08-06 21:38:32 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-08-06 21:38:32 (GMT)
commitfaf1fb428d50dc13b2f3632e601c5877c693e79b (patch)
treead0d4feed96fd5d39471e02822a433974779b5fc /Swift/QtUI
parenta444f92a9b0babd303eaf9ec120713125f324257 (diff)
downloadswift-contrib-faf1fb428d50dc13b2f3632e601c5877c693e79b.zip
swift-contrib-faf1fb428d50dc13b2f3632e601c5877c693e79b.tar.bz2
Don't allow enter in the roster to trigger logins.
Resolves: #973
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 42ebe39..38ad25d 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -454,6 +454,7 @@ void QtLoginWindow::setInitialMenus() {
}
void QtLoginWindow::morphInto(MainWindow *mainWindow) {
+ setEnabled(false);
QtMainWindow *qtMainWindow = dynamic_cast<QtMainWindow*>(mainWindow);
assert(qtMainWindow);
stack_->removeWidget(loginWidgetWrapper_);