From 62d0ad23f905100ee823cb11bc6fa95ebcd5cb98 Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Wed, 26 Mar 2014 12:21:24 -0700 Subject: MAINT-3881 FIX Pressing the ENTER key when entering a location into the “Type a location” field, doesn't log you in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- indra/newview/llpanellogin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 30dd12a68c..8bd5602f48 100755 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -229,7 +229,8 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, LLLineEditor* location_edit = sInstance->getChild("location_edit"); location_edit->setKeystrokeCallback(boost::bind(&LLPanelLogin::onLocationEditChanged, this, _1), NULL); - + location_edit->setCommitCallback(boost::bind(&LLPanelLogin::onClickConnectLocation, this)); + // Load all of the grids, sorted, and then add a bar and the current grid at the top server_choice_combo->removeall(); -- cgit v1.3