From faf1fb428d50dc13b2f3632e601c5877c693e79b Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Mon, 6 Aug 2012 22:38:32 +0100
Subject: Don't allow enter in the roster to trigger logins.

Resolves: #973

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_);
-- 
cgit v0.10.2-6-g49f6