diff options
author | Rider Linden <rider@lindenlab.com> | 2019-01-04 17:10:28 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-01-04 17:10:28 -0800 |
commit | 64e45b5b6ef8ded7bbea1b376e5bf2cbb0d6f5a4 (patch) | |
tree | 1d2334529f952a303188856794feb765749290b6 /indra/newview/llflyoutcombobtn.cpp | |
parent | e9a2e8f88c67685ea6b894e8a4ae289067d0bfb7 (diff) |
SL-10041, SL-9758: Environment tab is disabled(shows can't do this) when EM does not allow parcel override. "Commit" button now reads "Apply to Parcel" or "Apply to Region" as needed.
Diffstat (limited to 'indra/newview/llflyoutcombobtn.cpp')
-rw-r--r-- | indra/newview/llflyoutcombobtn.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llflyoutcombobtn.cpp b/indra/newview/llflyoutcombobtn.cpp index b008ee13be..48bfb85072 100644 --- a/indra/newview/llflyoutcombobtn.cpp +++ b/indra/newview/llflyoutcombobtn.cpp @@ -112,6 +112,12 @@ void LLFlyoutComboBtnCtrl::setMenuItemVisible(const std::string &item, bool visi mFlyoutMenu->setItemVisible(item, visible); } + +void LLFlyoutComboBtnCtrl::setMenuItemLabel(const std::string &item, const std::string &label) +{ + mFlyoutMenu->setItemLabel(item, label); +} + void LLFlyoutComboBtnCtrl::onFlyoutButton(LLUICtrl *ctrl, const LLSD &data) { S32 x, y; |