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/llui/llbutton.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/llui/llbutton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llui/llbutton.cpp b/linden/indra/llui/llbutton.cpp index 2c2c1c2..1a6c705 100644 --- a/linden/indra/llui/llbutton.cpp +++ b/linden/indra/llui/llbutton.cpp | |||
@@ -980,6 +980,8 @@ LLXMLNodePtr LLButton::getXML(bool save_children) const | |||
980 | { | 980 | { |
981 | LLXMLNodePtr node = LLUICtrl::getXML(); | 981 | LLXMLNodePtr node = LLUICtrl::getXML(); |
982 | 982 | ||
983 | node->setName(LL_BUTTON_TAG); | ||
984 | |||
983 | node->createChild("label", TRUE)->setStringValue(getLabelUnselected()); | 985 | node->createChild("label", TRUE)->setStringValue(getLabelUnselected()); |
984 | node->createChild("label_selected", TRUE)->setStringValue(getLabelSelected()); | 986 | node->createChild("label_selected", TRUE)->setStringValue(getLabelSelected()); |
985 | node->createChild("font", TRUE)->setStringValue(LLFontGL::nameFromFont(mGLFont)); | 987 | node->createChild("font", TRUE)->setStringValue(LLFontGL::nameFromFont(mGLFont)); |