Skip to content

Commit 9daa5b0

Browse files
committed
viewer-private#268 When deleting worn items, move them to trash
1 parent 75c4226 commit 9daa5b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indra/newview/llinventoryfunctions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3637,11 +3637,11 @@ void LLInventoryAction::onItemsRemovalConfirmation(const LLSD& notification, con
36373637
{
36383638
for (const LLUUID& id : item_deletion_list)
36393639
{
3640-
remove_inventory_item(id, NULL);
3640+
gInventory.removeItem(id);
36413641
}
36423642
for (const LLUUID& id : cat_deletion_list)
36433643
{
3644-
remove_inventory_category(id, NULL);
3644+
gInventory.removeCategory(id);
36453645
}
36463646
});
36473647
}

0 commit comments

Comments
 (0)