diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-12-21 10:44:13 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-21 10:44:13 -0800 |
commit | 2ebd9b54af332c653917c2b38000f30817dbe364 (patch) | |
tree | c292dd7e4d093686a2dccdfb3e5fce2c40a0f823 /indra/llui/llradiogroup.cpp | |
parent | 16ae542f5ae3d00fd5ffe744914af0506bed68c2 (diff) | |
parent | 5d8442f05613a4b7bc2b1ffb88e2450a4de965ea (diff) |
Automated merge with ssh://richard@hg.lindenlab.com/james/gooey
Diffstat (limited to 'indra/llui/llradiogroup.cpp')
-rw-r--r-- | indra/llui/llradiogroup.cpp | 4 |
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); |