From 62d0ad23f905100ee823cb11bc6fa95ebcd5cb98 Mon Sep 17 00:00:00 2001
From: Callum Prentice <callum@lindenlab.com>
Date: Wed, 26 Mar 2014 12:21:24 -0700
Subject: [PATCH] =?UTF-8?q?MAINT-3881=20FIX=20Pressing=20the=20ENTER=20key?=
 =?UTF-8?q?=20when=20entering=20a=20location=20into=20the=20=E2=80=9CType?=
 =?UTF-8?q?=20a=20location=E2=80=9D=20field,=20doesn't=20log=20you=20in?=
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 30dd12a68cd..8bd5602f487 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();
 
-- 
GitLab