diff options
author | Jacek Antonelli | 2008-12-10 23:35:38 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-10 23:35:38 -0600 |
commit | eb6c9309a9d0c76da6153b8290d33d50f56b9786 (patch) | |
tree | e4a02a277dc7da58eab72b2a46c79a789da234de /linden/indra/newview/llpanellogin.cpp | |
parent | Better warning when url_history.xml save fails. (diff) | |
download | meta-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 '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) |