diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2009-12-22 17:49:35 +0200 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2009-12-22 17:49:35 +0200 |
commit | 191e5f9ca033cd1520950f35309c0bc2c4499803 (patch) | |
tree | 684ccc50f33104413f9c52fe2ee4c3302ec77bb6 /indra/llui/llradiogroup.cpp | |
parent | 304e321f89e9a517ba90d6b41999a65591639ad9 (diff) | |
parent | d4a8f4c6efd11b4cb3ccba320f18e8508668b915 (diff) |
merge
--HG--
branch : product-engine
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); |