From aa10b000278affd5fa4714e73b6fe21fdaa4ea65 Mon Sep 17 00:00:00 2001
From: Leyla Farazha <leyla@lindenlab.com>
Date: Sat, 19 Jan 2008 01:07:57 +0000
Subject: [PATCH] dev-8998 xuilogin shows grid dropdown by default

---
 indra/newview/llpanellogin.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index 639220bce75..1167a23217b 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -402,9 +402,6 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
 		combo->setCommitCallback( &LLPanelGeneral::set_start_location );
 	}
 	
-	// Specific servers added later.
-	childSetVisible("server_combo", show_server);
-
 	childSetAction("new_account_btn", onClickNewAccount, this);
 	childSetVisible("new_account_btn", !gHideLinks);
 
@@ -879,8 +876,12 @@ void LLPanelLogin::refreshLocation( bool force_visible )
 	sInstance->childSetVisible("start_location_combo", show_start);
 	sInstance->childSetVisible("start_location_text", show_start);
 
-	BOOL show_server = ! gSavedSettings.getBOOL("ForceShowGrid");
+#if LL_RELEASE_FOR_DOWNLOAD
+	BOOL show_server = gSavedSettings.getBOOL("ForceShowGrid");
 	sInstance->childSetVisible("server_combo", show_server);
+#else
+	sInstance->childSetVisible("server_combo", TRUE);
+#endif
 
 #endif
 }
-- 
GitLab