summaryrefslogtreecommitdiff
path: root/indra/llui/llradiogroup.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2009-12-18 15:18:16 -0800
committerrichard <none@none>2009-12-18 15:18:16 -0800
commit2b22831dd0fffde8345a7b933ace46be818dec9a (patch)
tree8f8426c9be937210b3ebd08a517e3d712367720d /indra/llui/llradiogroup.cpp
parentebb69c31882f96bf3afdc719a739c3dca695c352 (diff)
ext-3307 - nearby chat stays scrolled at bottom
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);