diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-09-08 10:55:48 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-09-08 10:55:48 -0700 |
commit | 1c7b1532e994f8c4d1c69e419e34f07c1a9ee918 (patch) | |
tree | ff5b60dbc6887a7a7420728a06804fa268720211 /indra/llui/llradiogroup.cpp | |
parent | 82b1b1bc6ee91e1778a16634fb9e2988da23fd71 (diff) | |
parent | 78821c51a1f7d5fcc6e4a2678bfd3446ccfaee36 (diff) |
Merge from viewer-experience
Diffstat (limited to 'indra/llui/llradiogroup.cpp')
-rw-r--r-- | indra/llui/llradiogroup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llradiogroup.cpp b/indra/llui/llradiogroup.cpp index 3a12debf7e..95a7d09382 100644 --- a/indra/llui/llradiogroup.cpp +++ b/indra/llui/llradiogroup.cpp @@ -74,9 +74,6 @@ LLRadioGroup::Params::Params() { addSynonym(items, "radio_item"); - name = "radio_group"; - mouse_opaque = true; - follows.flags = FOLLOWS_LEFT | FOLLOWS_TOP; // radio items are not tabbable until they are selected tab_stop = false; } @@ -96,7 +93,10 @@ void LLRadioGroup::initFromParams(const Params& p) { LLRadioGroup::ItemParams item_params(*it); - item_params.font.setIfNotProvided(mFont); // apply radio group font by default + if (!item_params.font.isProvided()) + { + item_params.font = 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) |