From 4e6b91abb65823a96a7b67c434f63b9367864c46 Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Fri, 22 May 2015 14:07:02 +0300 Subject: MAINT-999 FIXED Clear message when clicking Save button. --- indra/newview/llpreviewscript.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'indra/newview/llpreviewscript.cpp') diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 7feb20332b..eff28a0123 100755 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -2401,8 +2401,12 @@ void LLLiveLSLEditor::onLoad(void* userdata) void LLLiveLSLEditor::onSave(void* userdata, BOOL close_after_save) { LLLiveLSLEditor* self = (LLLiveLSLEditor*)userdata; - self->mCloseAfterSave = close_after_save; - self->saveIfNeeded(); + if(self) + { + self->mCloseAfterSave = close_after_save; + self->mScriptEd->mErrorList->setCommentText(""); + self->saveIfNeeded(); + } } -- cgit v1.2.3 From 4495a50e8c0d9a1223160cdd8643a6ce969e3dfb Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Wed, 29 Jul 2015 12:00:43 +0300 Subject: MAINT-5376 FIXED Sort experiences by name in the LSL editor experience chooser drop down list --- indra/newview/llpreviewscript.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llpreviewscript.cpp') 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("view_profile")->setVisible(TRUE); } } -- cgit v1.2.3