diff options
Diffstat (limited to 'linden/indra/newview/llpanellogin.cpp')
-rw-r--r-- | linden/indra/newview/llpanellogin.cpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp index 6464f0b..db086bf 100644 --- a/linden/indra/newview/llpanellogin.cpp +++ b/linden/indra/newview/llpanellogin.cpp | |||
@@ -735,9 +735,20 @@ void LLPanelLogin::refreshLocation( bool force_visible ) | |||
735 | } | 735 | } |
736 | 736 | ||
737 | BOOL show_start = TRUE; | 737 | BOOL show_start = TRUE; |
738 | 738 | BOOL show_grid_manager = TRUE; | |
739 | |||
739 | if ( ! force_visible ) | 740 | if ( ! force_visible ) |
741 | { | ||
740 | show_start = gSavedSettings.getBOOL("ShowStartLocation"); | 742 | show_start = gSavedSettings.getBOOL("ShowStartLocation"); |
743 | } | ||
744 | if (gSavedSettings.getBOOL("ForceShowGrid")) | ||
745 | { | ||
746 | force_visible = true; | ||
747 | } | ||
748 | if ( force_visible ) | ||
749 | { | ||
750 | show_grid_manager = gSavedSettings.getBOOL("ShowGridManager"); | ||
751 | } | ||
741 | 752 | ||
742 | // [RLVa:KB] - Alternate: Snowglobe-1.2.4 | Checked: 2009-07-08 (RLVa-1.0.0e) | 753 | // [RLVa:KB] - Alternate: Snowglobe-1.2.4 | Checked: 2009-07-08 (RLVa-1.0.0e) |
743 | // TODO-RLVa: figure out some way to make this work with RLV_EXTENSION_STARTLOCATION | 754 | // TODO-RLVa: figure out some way to make this work with RLV_EXTENSION_STARTLOCATION |
@@ -756,7 +767,9 @@ void LLPanelLogin::refreshLocation( bool force_visible ) | |||
756 | BOOL show_server = gSavedSettings.getBOOL("ForceShowGrid"); | 767 | BOOL show_server = gSavedSettings.getBOOL("ForceShowGrid"); |
757 | sInstance->childSetVisible("server_combo", show_server); | 768 | sInstance->childSetVisible("server_combo", show_server); |
758 | #else*/ | 769 | #else*/ |
759 | sInstance->childSetVisible("server_combo", TRUE); | 770 | sInstance->childSetVisible("server_combo", show_grid_manager); |
771 | sInstance->childSetVisible("grid_btn", show_grid_manager); | ||
772 | sInstance->childSetVisible("grid_text", show_grid_manager); | ||
760 | //#endif | 773 | //#endif |
761 | 774 | ||
762 | #endif | 775 | #endif |