From cccdd1fb397240fda99663b403e00b2582c202ba Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Fri, 30 Jan 2015 15:36:00 +0200 Subject: MAINT-4853 FIXED Pressing the ENTER key when entering a location into the Type a location field, doesn't log you in --- indra/newview/llpanellogin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llpanellogin.cpp') diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index b181ea217b..a6a7150ae7 100755 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -210,7 +210,7 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, LLComboBox* favorites_combo = getChild("start_location_combo"); updateLocationSelectorsVisibility(); // separate so that it can be called from preferences - favorites_combo->setCommitCallback(boost::bind(&LLPanelLogin::onClickConnect, this)); + favorites_combo->setReturnCallback(boost::bind(&LLPanelLogin::onClickConnect, this)); favorites_combo->setFocusLostCallback(boost::bind(&LLPanelLogin::onLocationSLURL, this)); LLComboBox* server_choice_combo = getChild("server_combo"); -- cgit v1.2.3