summaryrefslogtreecommitdiff
path: root/indra/llui/llradiogroup.cpp
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-12-21 11:54:27 -0800
committerRick Pasetto <rick@lindenlab.com>2009-12-21 11:54:27 -0800
commit7012b7e5a7b6fc4a1ff2e04713105eb56b4dc9ca (patch)
tree8660484c9e23bf93623abf326f3d9b787b86f43d /indra/llui/llradiogroup.cpp
parentfdaa7c3798efd070ac1f4ce707303f7f4ae89ea7 (diff)
parentc308dacfe26fa67e5871ba174dbc0c6cc545a6dd (diff)
Automated merge with ssh://richard@hg.lindenlab.com/james/gooey
Diffstat (limited to 'indra/llui/llradiogroup.cpp')
-rw-r--r--indra/llui/llradiogroup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llradiogroup.cpp b/indra/llui/llradiogroup.cpp
index 997b9c13f8..4087b484aa 100644
--- a/indra/llui/llradiogroup.cpp
+++ b/indra/llui/llradiogroup.cpp
@@ -116,6 +116,10 @@ void LLRadioGroup::initFromParams(const Params& p)
item_params.font.setIfNotProvided(mFont); // apply radio group font by default
item_params.commit_callback.function = boost::bind(&LLRadioGroup::onClickButton, this, _1);
item_params.from_xui = p.from_xui;
+ if (p.from_xui)
+ {
+ applyXUILayout(item_params, this);
+ }
LLRadioCtrl* item = LLUICtrlFactory::create<LLRadioCtrl>(item_params, this);
mRadioButtons.push_back(item);