diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-08-06 21:38:32 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-08-06 21:38:32 (GMT) |
commit | faf1fb428d50dc13b2f3632e601c5877c693e79b (patch) | |
tree | ad0d4feed96fd5d39471e02822a433974779b5fc /Swift | |
parent | a444f92a9b0babd303eaf9ec120713125f324257 (diff) | |
download | swift-contrib-faf1fb428d50dc13b2f3632e601c5877c693e79b.zip swift-contrib-faf1fb428d50dc13b2f3632e601c5877c693e79b.tar.bz2 |
Don't allow enter in the roster to trigger logins.
Resolves: #973
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 1 |
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_); |