diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-04-08 22:41:34 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-04-08 23:06:57 +0300 |
commit | e79c32eee89c31e730ac0562d680e6e0ebfd4a68 (patch) | |
tree | 96998aba120e1e6c0cdf64a0e3cfbd0a34c8dc1a | |
parent | 57d423745fd1d3d0ea6a0c69b869a20c27e27fc5 (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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 0ed89292a5..1783c4c9db 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -852,7 +852,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")); |