aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewertexteditor.cpp
diff options
context:
space:
mode:
authorMm Alder2010-01-03 14:40:37 -0500
committerMm Alder2010-01-03 14:40:37 -0500
commitc17d74a59f10ad1fb9f9a7da2811688ff2944afa (patch)
tree156166a6ab955287780bb60c21238df5876b6e73 /linden/indra/newview/llviewertexteditor.cpp
parentVWR-14475 Load from XML is broken (diff)
downloadmeta-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.cpp10
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
1559LLXMLNodePtr 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
1558LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) 1568LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
1559{ 1569{
1560 std::string name("text_editor"); 1570 std::string name("text_editor");