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/lluictrlfactory.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/lluictrlfactory.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/llui/lluictrlfactory.cpp b/linden/indra/llui/lluictrlfactory.cpp index 0074494..07eb39b 100644 --- a/linden/indra/llui/lluictrlfactory.cpp +++ b/linden/indra/llui/lluictrlfactory.cpp | |||
@@ -86,6 +86,15 @@ public: | |||
86 | LLUICtrlLocate() : LLUICtrl(std::string("locate"), LLRect(0,0,0,0), FALSE, NULL, NULL) { setTabStop(FALSE); } | 86 | LLUICtrlLocate() : LLUICtrl(std::string("locate"), LLRect(0,0,0,0), FALSE, NULL, NULL) { setTabStop(FALSE); } |
87 | virtual void draw() { } | 87 | virtual void draw() { } |
88 | 88 | ||
89 | virtual LLXMLNodePtr getXML(bool save_children = true) const | ||
90 | { | ||
91 | LLXMLNodePtr node = LLUICtrl::getXML(); | ||
92 | |||
93 | node->setName(LL_UI_CTRL_LOCATE_TAG); | ||
94 | |||
95 | return node; | ||
96 | } | ||
97 | |||
89 | static LLView *fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) | 98 | static LLView *fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
90 | { | 99 | { |
91 | std::string name("pad"); | 100 | std::string name("pad"); |