aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/lltextbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/lltextbox.cpp')
-rw-r--r--linden/indra/llui/lltextbox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llui/lltextbox.cpp b/linden/indra/llui/lltextbox.cpp
index 89893bc..e45716f 100644
--- a/linden/indra/llui/lltextbox.cpp
+++ b/linden/indra/llui/lltextbox.cpp
@@ -386,6 +386,8 @@ LLXMLNodePtr LLTextBox::getXML(bool save_children) const
386{ 386{
387 LLXMLNodePtr node = LLUICtrl::getXML(); 387 LLXMLNodePtr node = LLUICtrl::getXML();
388 388
389 node->setName(LL_TEXT_BOX_TAG);
390
389 // Attributes 391 // Attributes
390 node->createChild("font", TRUE)->setStringValue(LLFontGL::nameFromFont(mFontGL)); 392 node->createChild("font", TRUE)->setStringValue(LLFontGL::nameFromFont(mFontGL));
391 node->createChild("halign", TRUE)->setStringValue(LLFontGL::nameFromHAlign(mHAlign)); 393 node->createChild("halign", TRUE)->setStringValue(LLFontGL::nameFromHAlign(mHAlign));