aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:55 -0500
committerJacek Antonelli2008-08-15 23:45:55 -0500
commit9063e60aefe54f7c45aaa8cb24e8998b2c7343ab (patch)
tree1c8235465701c910a5d76448ddc8eb1f14457ebc /linden/indra/newview/llstartup.cpp
parentSecond Life viewer sources 1.20.9 (diff)
downloadmeta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.zip
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.gz
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.bz2
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.xz
Second Life viewer sources 1.20.10
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r--linden/indra/newview/llstartup.cpp21
1 files changed, 3 insertions, 18 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 009cdd2..5a5aa8d 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -811,26 +811,11 @@ BOOL idle_startup()
811 811
812 if (show_connect_box) 812 if (show_connect_box)
813 { 813 {
814 // TODO only set loginuri based on server choice if ! USE_VIEWER_AUTH 814 if ( LLPanelLogin::isGridComboDirty() )
815 LLString server_label;
816 S32 domain_name_index;
817 BOOL user_picked_server = LLPanelLogin::getServer( server_label, domain_name_index );
818 if((EGridInfo)domain_name_index == GRID_INFO_OTHER)
819 { 815 {
820 // Since the grid chosen was an 'other', set the choice by string. 816 // User picked a grid from the popup, so clear the
821 LLViewerLogin::getInstance()->setGridChoice(server_label); 817 // stored uris and they will be reacquired from the grid choice.
822 }
823 else
824 {
825 // Set the choice according to index.
826 LLViewerLogin::getInstance()->setGridChoice((EGridInfo)domain_name_index);
827 }
828
829 if ( user_picked_server )
830 { // User picked a grid from the popup, so clear the
831 // stored uris and they will be re-generated from the GridChoice
832 sAuthUris.clear(); 818 sAuthUris.clear();
833 LLViewerLogin::getInstance()->resetURIs();
834 } 819 }
835 820
836 LLString location; 821 LLString location;