aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llprogressbar.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/llprogressbar.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/llprogressbar.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/llui/llprogressbar.cpp b/linden/indra/llui/llprogressbar.cpp
index 8833494..d148733 100644
--- a/linden/indra/llui/llprogressbar.cpp
+++ b/linden/indra/llui/llprogressbar.cpp
@@ -124,6 +124,16 @@ void LLProgressBar::setColorBackground(const LLColor4 &c)
124} 124}
125 125
126 126
127// virtual
128LLXMLNodePtr LLProgressBar::getXML(bool save_children) const
129{
130 LLXMLNodePtr node = LLView::getXML();
131
132 node->setName(LL_PROGRESS_BAR_TAG);
133
134 return node;
135}
136
127// static 137// static
128LLView* LLProgressBar::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) 138LLView* LLProgressBar::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
129{ 139{