diff options
author | Mm Alder | 2010-01-03 14:40:37 -0500 |
---|---|---|
committer | Mm Alder | 2010-01-03 14:40:37 -0500 |
commit | c17d74a59f10ad1fb9f9a7da2811688ff2944afa (patch) | |
tree | 156166a6ab955287780bb60c21238df5876b6e73 /linden/indra/newview/llviewertexteditor.cpp | |
parent | VWR-14475 Load from XML is broken (diff) | |
download | meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.zip meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.gz meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.bz2 meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.xz |
VWR-15310 Save to XML doesn't set proper XML tags
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewertexteditor.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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 ) | |||
1555 | return TRUE; | 1555 | return TRUE; |
1556 | } | 1556 | } |
1557 | 1557 | ||
1558 | // virtual | ||
1559 | LLXMLNodePtr LLViewerTextEditor::getXML(bool save_children) const | ||
1560 | { | ||
1561 | LLXMLNodePtr node = LLTextEditor::getXML(); | ||
1562 | |||
1563 | node->setName(LL_TEXT_EDITOR_TAG); | ||
1564 | |||
1565 | return node; | ||
1566 | } | ||
1567 | |||
1558 | LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) | 1568 | LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
1559 | { | 1569 | { |
1560 | std::string name("text_editor"); | 1570 | std::string name("text_editor"); |