Skip to content
Snippets Groups Projects
Commit aa10b000 authored by Leyla Farazha's avatar Leyla Farazha
Browse files

dev-8998 xuilogin shows grid dropdown by default

parent 8787690c
No related branches found
No related tags found
No related merge requests found
...@@ -402,9 +402,6 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, ...@@ -402,9 +402,6 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
combo->setCommitCallback( &LLPanelGeneral::set_start_location ); combo->setCommitCallback( &LLPanelGeneral::set_start_location );
} }
// Specific servers added later.
childSetVisible("server_combo", show_server);
childSetAction("new_account_btn", onClickNewAccount, this); childSetAction("new_account_btn", onClickNewAccount, this);
childSetVisible("new_account_btn", !gHideLinks); childSetVisible("new_account_btn", !gHideLinks);
...@@ -879,8 +876,12 @@ void LLPanelLogin::refreshLocation( bool force_visible ) ...@@ -879,8 +876,12 @@ void LLPanelLogin::refreshLocation( bool force_visible )
sInstance->childSetVisible("start_location_combo", show_start); sInstance->childSetVisible("start_location_combo", show_start);
sInstance->childSetVisible("start_location_text", 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); sInstance->childSetVisible("server_combo", show_server);
#else
sInstance->childSetVisible("server_combo", TRUE);
#endif
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment