aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llpanellogin.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 27e6043..5dde3a3 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -720,7 +720,16 @@ void LLPanelLogin::addServer(const std::string& server)
720 i++; 720 i++;
721 } 721 }
722 } 722 }
723 grids->setCurrentByIndex(0); 723
724 // when you first login select the default, otherwise last connected
725 if (gDisconnected)
726 {
727 grids->setSimple(gHippoGridManager->getCurrentGrid()->getGridNick());
728 }
729 else
730 {
731 grids->setSimple(defaultGrid);
732 }
724 733
725 //LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo"); 734 //LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo");
726 //combo->add(server, LLSD(domain_name) ); 735 //combo->add(server, LLSD(domain_name) );