diff options
author | Merov Linden <merov@lindenlab.com> | 2014-08-31 22:33:43 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-08-31 22:33:43 -0700 |
commit | 3188285cb1748b8832c0488923f0e7c79da564e0 (patch) | |
tree | f74f7360f7242b582956014f3e97db72a272ad07 /indra/newview/llinventorybridge.cpp | |
parent | a5afdf0b9715d677ce49e24aea96c002e85e3769 (diff) |
DD-105 : Disable a couple of other right click menu items while updating marketplace
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rwxr-xr-x | indra/newview/llinventorybridge.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 4df815204b..76cd300181 100755 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -3621,6 +3621,15 @@ void LLFolderBridge::buildContextMenuOptions(U32 flags, menuentry_vec_t& items if (isMarketplaceListingsFolder()) { addMarketplaceContextMenuOptions(flags, items, disabled_items); + if (LLMarketplaceData::instance().isUpdating(mUUID)) + { + disabled_items.push_back(std::string("New Folder")); + disabled_items.push_back(std::string("Rename")); + disabled_items.push_back(std::string("Cut")); + disabled_items.push_back(std::string("Copy")); + disabled_items.push_back(std::string("Paste")); + disabled_items.push_back(std::string("Delete")); + } } if (marketplace_listings_id == mUUID) { |