summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-08-31 22:33:43 -0700
committerMerov Linden <merov@lindenlab.com>2014-08-31 22:33:43 -0700
commit3188285cb1748b8832c0488923f0e7c79da564e0 (patch)
treef74f7360f7242b582956014f3e97db72a272ad07
parenta5afdf0b9715d677ce49e24aea96c002e85e3769 (diff)
DD-105 : Disable a couple of other right click menu items while updating marketplace
-rwxr-xr-xindra/newview/llinventorybridge.cpp9
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)
{