summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2014-03-26 12:21:24 -0700
committerCallum Prentice <callum@lindenlab.com>2014-03-26 12:21:24 -0700
commit62d0ad23f905100ee823cb11bc6fa95ebcd5cb98 (patch)
tree0b2c2db608c84b10e4f39f585fbfc80e290f8f9f
parent2351cd0596acbb29518868a74357fcbd4971b5d9 (diff)
MAINT-3881 FIX Pressing the ENTER key when entering a location into the “Type a location” field, doesn't log you in
-rwxr-xr-xindra/newview/llpanellogin.cpp3
1 files changed, 2 insertions, 1 deletions
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<LLLineEditor>("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();