diff options
| author | Palmer Truelson <palmer@lindenlab.com> | 2009-12-22 14:06:48 -0600 |
|---|---|---|
| committer | Palmer Truelson <palmer@lindenlab.com> | 2009-12-22 14:06:48 -0600 |
| commit | 616ca198143e7cc3f925add2c3b83aaf5d2fe244 (patch) | |
| tree | a6f234275727009d196dbd6070753bcb02699bb0 /indra/llui/llradiogroup.cpp | |
| parent | 8f8e5c850a0574f30f9be1e3164531751139d2c5 (diff) | |
| parent | e72a3c63ec44255172e253fe43e192918ec6117e (diff) | |
Merge
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); |
