aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/lllineeditor.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp
index fc33dcf..62759e6 100644
--- a/linden/indra/llui/lllineeditor.cpp
+++ b/linden/indra/llui/lllineeditor.cpp
@@ -2202,6 +2202,8 @@ LLXMLNodePtr LLLineEditor::getXML(bool save_children) const
2202{ 2202{
2203 LLXMLNodePtr node = LLUICtrl::getXML(); 2203 LLXMLNodePtr node = LLUICtrl::getXML();
2204 2204
2205 node->setName(LL_LINE_EDITOR_TAG);
2206
2205 node->createChild("max_length", TRUE)->setIntValue(mMaxLengthBytes); 2207 node->createChild("max_length", TRUE)->setIntValue(mMaxLengthBytes);
2206 2208
2207 node->createChild("font", TRUE)->setStringValue(LLFontGL::nameFromFont(mGLFont)); 2209 node->createChild("font", TRUE)->setStringValue(LLFontGL::nameFromFont(mGLFont));
@@ -2791,6 +2793,16 @@ void LLSearchEditor::onClearSearch(void* user_data)
2791 } 2793 }
2792} 2794}
2793 2795
2796// virtual
2797LLXMLNodePtr LLSearchEditor::getXML(bool save_children) const
2798{
2799 LLXMLNodePtr node = LLUICtrl::getXML();
2800
2801 node->setName(LL_SEARCH_EDITOR_TAG);
2802
2803 return node;
2804}
2805
2794// static 2806// static
2795LLView* LLSearchEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) 2807LLView* LLSearchEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
2796{ 2808{