From fb62ef12102186c9854d4f28c68e49be74d09ba6 Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Thu, 29 Jun 2023 13:13:10 +0300 Subject: SL-19932 FIXED Drag and drop or paste of new item in existing marketplace entry does not work --- indra/newview/llinventoryfunctions.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/newview/llinventoryfunctions.cpp') diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index 034488c011..3a53425e43 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -1518,11 +1518,15 @@ bool move_item_to_marketplacelistings(LLInventoryItem* inv_item, LLUUID dest_fol callback_dest_create); }); } - if (depth == 1) + else if (depth == 1) { // We need a version folder gInventory.createNewCategory(dest_folder, LLFolderType::FT_NONE, viewer_inv_item->getName(), callback_dest_create); } + else + { + callback_dest_create(dest_folder); + } } else { -- cgit v1.2.3