aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llmultislider.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/llui/llmultislider.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/llui/llmultislider.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llui/llmultislider.cpp b/linden/indra/llui/llmultislider.cpp
index c1487be..a0da4e2 100644
--- a/linden/indra/llui/llmultislider.cpp
+++ b/linden/indra/llui/llmultislider.cpp
@@ -571,6 +571,8 @@ LLXMLNodePtr LLMultiSlider::getXML(bool save_children) const
571{ 571{
572 LLXMLNodePtr node = LLUICtrl::getXML(); 572 LLXMLNodePtr node = LLUICtrl::getXML();
573 573
574 node->setName(LL_MULTI_SLIDER_TAG);
575
574 node->createChild("initial_val", TRUE)->setFloatValue(getInitialValue()); 576 node->createChild("initial_val", TRUE)->setFloatValue(getInitialValue());
575 node->createChild("min_val", TRUE)->setFloatValue(getMinValue()); 577 node->createChild("min_val", TRUE)->setFloatValue(getMinValue());
576 node->createChild("max_val", TRUE)->setFloatValue(getMaxValue()); 578 node->createChild("max_val", TRUE)->setFloatValue(getMaxValue());