From c17d74a59f10ad1fb9f9a7da2811688ff2944afa Mon Sep 17 00:00:00 2001 From: Mm Alder Date: Sun, 3 Jan 2010 14:40:37 -0500 Subject: VWR-15310 Save to XML doesn't set proper XML tags --- linden/indra/newview/llviewertexteditor.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'linden/indra/newview/llviewertexteditor.cpp') diff --git a/linden/indra/newview/llviewertexteditor.cpp b/linden/indra/newview/llviewertexteditor.cpp index 296c540..e5e2cd6 100644 --- a/linden/indra/newview/llviewertexteditor.cpp +++ b/linden/indra/newview/llviewertexteditor.cpp @@ -1555,6 +1555,16 @@ BOOL LLViewerTextEditor::exportBuffer( std::string& buffer ) return TRUE; } +// virtual +LLXMLNodePtr LLViewerTextEditor::getXML(bool save_children) const +{ + LLXMLNodePtr node = LLTextEditor::getXML(); + + node->setName(LL_TEXT_EDITOR_TAG); + + return node; +} + LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) { std::string name("text_editor"); -- cgit v1.1