summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-07-29 12:00:43 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-07-29 12:00:43 +0300
commit4495a50e8c0d9a1223160cdd8643a6ce969e3dfb (patch)
treebebf3b69477ed8b25f500fa76ed6814710efe58b /indra/newview/llpreviewscript.cpp
parente62d5ea4e822e7bb2204eca25c8c4a87a9f6b4be (diff)
MAINT-5376 FIXED Sort experiences by name in the LSL editor experience chooser drop down list
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-xindra/newview/llpreviewscript.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index f4bcec344c..67832c5994 100755
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -1391,6 +1391,8 @@ void LLLiveLSLEditor::buildExperienceList()
else
{
mExperiences->setEnabled(TRUE);
+ mExperiences->sortByName(TRUE);
+ mExperiences->setCurrentByIndex(mExperiences->getCurrentIndex());
getChild<LLButton>("view_profile")->setVisible(TRUE);
}
}