diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-11-14 13:41:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 13:41:29 +0200 |
commit | 365792422612f391d175e21c7162d536d4a07647 (patch) | |
tree | 2de250c6b30e8d595de5fbae0b6196ea54a3ec90 /indra | |
parent | 742f5ebec64b7633763b651abb6e1f1eea82f140 (diff) |
SL-20599 restore "New folder" option for "Marketplace Listings" floater
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 4 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_inventory.xml | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 4fb60b4c55..5b2a1366bd 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -4337,6 +4337,10 @@ void LLFolderBridge::buildContextMenuOptions(U32 flags, menuentry_vec_t& items disabled_items.push_back("New Settings"); } } + else + { + items.push_back(std::string("New Listing Folder")); + } } getClipboardEntries(false, items, disabled_items, flags); } diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml index 12707aa8fd..6b80834008 100644 --- a/indra/newview/skins/default/xui/en/menu_inventory.xml +++ b/indra/newview/skins/default/xui/en/menu_inventory.xml @@ -144,6 +144,14 @@ parameter="rename" /> </menu_item_call> <menu_item_call + label="New Folder" + layout="topleft" + name="New Listing Folder"> + <menu_item_call.on_click + function="Inventory.DoCreate" + parameter="category" /> + </menu_item_call> + <menu_item_call label="New Outfit" layout="topleft" name="New Outfit"> |