diff options
author | Richard Nelson <none@none> | 2010-08-04 19:01:18 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-08-04 19:01:18 -0700 |
commit | 5062351a0a2a95c3cbca27297b57afddc23d7a4f (patch) | |
tree | 5906c7f0b461b7671bcdaa35d284e73f40517095 /indra/newview/llpanellogin.cpp | |
parent | bd20eddd4ecf185d0fe2ff2dc498809ad104cfcc (diff) |
deprecated ADD_SORTED due to n^2 behavior, set the sort order on the scroll list instead
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rw-r--r-- | indra/newview/llpanellogin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 4b23e63f12..58ed01896a 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -1110,9 +1110,10 @@ void LLPanelLogin::updateServerCombo() { if (!grid_choice->first.empty()) { - server_choice_combo->add(grid_choice->second, grid_choice->first, ADD_SORTED); + server_choice_combo->add(grid_choice->second, grid_choice->first); } } + server_choice_combo->sortByName(); server_choice_combo->addSeparator(ADD_TOP); |