diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 30dd12a68cdf6b9568af02fdb7b49d7caba60d9d..8bd5602f48796a24b067702fcb5ed4902d19e2c5 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();