diff options
author | Rider Linden <rider@lindenlab.com> | 2018-08-17 12:35:42 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-08-17 12:35:42 -0700 |
commit | 1716129fd23ff35e030808406af1a8f796dc4b01 (patch) | |
tree | 6b4c71557920032781b9ae6cf19b89acf15f89c3 /indra/newview/llflyoutcombobtn.cpp | |
parent | 7f25bef9c4bd5bf277331040711f13eb69b9c6d1 (diff) |
MAINT-8826, MAINT-8990, MAINT-9002, MAINT-7703: Rework for environment pannels in Region/Estate and Parcel. Enable/disable by permission. Edit the correct environment. Dirty flags for changes. Estate owner disallow switch.
Diffstat (limited to 'indra/newview/llflyoutcombobtn.cpp')
-rw-r--r-- | indra/newview/llflyoutcombobtn.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llflyoutcombobtn.cpp b/indra/newview/llflyoutcombobtn.cpp index a736fcafa3..d1a8b46c92 100644 --- a/indra/newview/llflyoutcombobtn.cpp +++ b/indra/newview/llflyoutcombobtn.cpp @@ -100,6 +100,11 @@ void LLFlyoutComboBtnCtrl::setShownBtnEnabled(bool enabled) mParent->getChildView(mActionButton)->setEnabled(enabled); } +void LLFlyoutComboBtnCtrl::setMenuItemVisible(const std::string &item, bool visible) +{ + mFlyoutMenu->setItemVisible(item, visible); +} + void LLFlyoutComboBtnCtrl::onFlyoutButton(LLUICtrl *ctrl, const LLSD &data) { S32 x, y; |