diff options
Diffstat (limited to 'linden/indra/newview/llpanellogin.cpp')
-rw-r--r-- | linden/indra/newview/llpanellogin.cpp | 8 |
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 | ||
717 | void 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 |
716 | void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, | 724 | void LLPanelLogin::getFields(std::string &firstname, std::string &lastname, std::string &password, |
717 | BOOL &remember) | 725 | BOOL &remember) |