Skip to content
Snippets Groups Projects
Commit 4e6b91ab authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

MAINT-999 FIXED Clear message when clicking Save button.

parent cae660f5
No related branches found
No related tags found
No related merge requests found
...@@ -2401,8 +2401,12 @@ void LLLiveLSLEditor::onLoad(void* userdata) ...@@ -2401,8 +2401,12 @@ void LLLiveLSLEditor::onLoad(void* userdata)
void LLLiveLSLEditor::onSave(void* userdata, BOOL close_after_save) void LLLiveLSLEditor::onSave(void* userdata, BOOL close_after_save)
{ {
LLLiveLSLEditor* self = (LLLiveLSLEditor*)userdata; LLLiveLSLEditor* self = (LLLiveLSLEditor*)userdata;
self->mCloseAfterSave = close_after_save; if(self)
self->saveIfNeeded(); {
self->mCloseAfterSave = close_after_save;
self->mScriptEd->mErrorList->setCommentText("");
self->saveIfNeeded();
}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment