summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
index 36d282d..c5a1478 100644
--- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
+++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
@@ -35,6 +35,8 @@ QtMUCSearchWindow::QtMUCSearchWindow(UIEventStream* eventStream) {
results_->setAlternatingRowColors(true);
#endif
connect(service_, SIGNAL(returnPressed()), this, SLOT(handleSearch()));
+ connect(room_, SIGNAL(returnPressed()), this, SLOT(handleJoin()));
+ connect(nickName_, SIGNAL(returnPressed()), room_, SLOT(setFocus()));
connect(searchButton_, SIGNAL(clicked()), this, SLOT(handleSearch()));
connect(joinButton_, SIGNAL(clicked()), this, SLOT(handleJoin()));
connect(results_, SIGNAL(clicked(const QModelIndex&)), this, SLOT(handleSelected(const QModelIndex&)));