aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llcheckboxctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llcheckboxctrl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llui/llcheckboxctrl.cpp b/linden/indra/llui/llcheckboxctrl.cpp
index eda9467..c1daee7 100644
--- a/linden/indra/llui/llcheckboxctrl.cpp
+++ b/linden/indra/llui/llcheckboxctrl.cpp
@@ -298,12 +298,13 @@ void LLCheckBoxCtrl::resetDirty()
298} 298}
299 299
300 300
301
302// virtual 301// virtual
303LLXMLNodePtr LLCheckBoxCtrl::getXML(bool save_children) const 302LLXMLNodePtr LLCheckBoxCtrl::getXML(bool save_children) const
304{ 303{
305 LLXMLNodePtr node = LLUICtrl::getXML(); 304 LLXMLNodePtr node = LLUICtrl::getXML();
306 305
306 node->setName(LL_CHECK_BOX_CTRL_TAG);
307
307 node->createChild("label", TRUE)->setStringValue(mLabel->getText()); 308 node->createChild("label", TRUE)->setStringValue(mLabel->getText());
308 309
309 std::string control_name = mButton->getControlName(); 310 std::string control_name = mButton->getControlName();