summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-08-15 18:17:39 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-08-15 21:07:14 +0300
commit9daa5b000cd61c77c9bec8f837920937e4e4b0f8 (patch)
tree2ca56f8ee96c9fff7f7731eaefc80a928921c108 /indra
parent75c422613fbb8718d2c5a8ac1adee14b27d82bdc (diff)
viewer-private#268 When deleting worn items, move them to trash
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventoryfunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index 8471b2cea1..57c0d57190 100644
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -3637,11 +3637,11 @@ void LLInventoryAction::onItemsRemovalConfirmation(const LLSD& notification, con
{
for (const LLUUID& id : item_deletion_list)
{
- remove_inventory_item(id, NULL);
+ gInventory.removeItem(id);
}
for (const LLUUID& id : cat_deletion_list)
{
- remove_inventory_category(id, NULL);
+ gInventory.removeCategory(id);
}
});
}