Fix rlva force-detach crash, and autoresponse message setting not being updated.

This commit is contained in:
Shyotl
2016-06-15 23:22:10 -05:00
parent 027c3be694
commit bf3dbd66b8
4 changed files with 5 additions and 40 deletions

View File

@@ -1672,6 +1672,10 @@ LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlF
text_editor->setParseHTML(parse_html);
text_editor->setParseHighlights(TRUE);
BOOL commit_on_focus_lost = FALSE;
node->getAttributeBOOL("commit_on_focus_lost",commit_on_focus_lost);
text_editor->setCommitOnFocusLost(commit_on_focus_lost);
text_editor->initFromXML(node, parent);
// add text after all parameters have been set