aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-10 23:35:38 -0600
committerJacek Antonelli2008-12-10 23:35:38 -0600
commiteb6c9309a9d0c76da6153b8290d33d50f56b9786 (patch)
treee4a02a277dc7da58eab72b2a46c79a789da234de /linden/indra/newview/llpanellogin.cpp
parentBetter warning when url_history.xml save fails. (diff)
downloadmeta-impy-eb6c9309a9d0c76da6153b8290d33d50f56b9786.zip
meta-impy-eb6c9309a9d0c76da6153b8290d33d50f56b9786.tar.gz
meta-impy-eb6c9309a9d0c76da6153b8290d33d50f56b9786.tar.bz2
meta-impy-eb6c9309a9d0c76da6153b8290d33d50f56b9786.tar.xz
Fix grid selector having a duplicate entry. [#24]
Patch by Balp Allen.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanellogin.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 40a3a7f..a495516 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -712,6 +712,14 @@ void LLPanelLogin::addServer(const std::string& server, S32 domain_name)
712 combo->setCurrentByIndex(0); 712 combo->setCurrentByIndex(0);
713} 713}
714 714
715
716// static
717void LLPanelLogin::setServer(S32 domain_name)
718{
719 LLComboBox* combo = sInstance->getChild<LLComboBox>("server_combo");
720 combo->setCurrentByIndex(domain_name);
721}
722
715// static 723// static
716void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, 724void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password,
717 BOOL &remember) 725 BOOL &remember)