aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnameeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llnameeditor.cpp')
-rw-r--r--linden/indra/newview/llnameeditor.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llnameeditor.cpp b/linden/indra/newview/llnameeditor.cpp
index e4a6573..5997369 100644
--- a/linden/indra/newview/llnameeditor.cpp
+++ b/linden/indra/newview/llnameeditor.cpp
@@ -141,6 +141,16 @@ LLSD LLNameEditor::getValue() const
141 return LLSD(mNameID); 141 return LLSD(mNameID);
142} 142}
143 143
144// virtual
145LLXMLNodePtr LLNameEditor::getXML(bool save_children) const
146{
147 LLXMLNodePtr node = LLLineEditor::getXML();
148
149 node->setName(LL_NAME_EDITOR_TAG);
150
151 return node;
152}
153
144LLView* LLNameEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) 154LLView* LLNameEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
145{ 155{
146 std::string name("name_editor"); 156 std::string name("name_editor");