summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-04-08 22:41:34 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-03-11 03:13:10 +0200
commita925b178b0f5f1ec78b982945f9b4785b565c101 (patch)
tree256063ef50289763c1329f6ca1378a70cd6d8a72
parentc864e6a8b3c50c72fe409fddacf0b5ce352819c1 (diff)
triage#163 'Create folder from selected' misbehaves in marketplace
Marketplace deliberately doesn't allow creating folders and the "New folder from selected" is a way of creating a new folder then moving selected items inside, therefore shouldn't be allowed.
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 6cb04328ed..479b7c19ac 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -844,7 +844,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id,
disabled_items.push_back(std::string("Copy"));
}
- if (isAgentInventory() && !single_folder_root)
+ if (isAgentInventory() && !single_folder_root && !isMarketplaceListingsFolder())
{
items.push_back(std::string("New folder from selected"));
items.push_back(std::string("Subfolder Separator"));