summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-06-29 13:13:10 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-06-29 13:14:40 +0300
commitfb62ef12102186c9854d4f28c68e49be74d09ba6 (patch)
tree856be681039b9e218326053d14eabe2c4bf0f494 /indra/newview/llinventoryfunctions.cpp
parent7c100d54dda03db62a8d2c8be6a5e02ea9280f9b (diff)
SL-19932 FIXED Drag and drop or paste of new item in existing marketplace entry does not work
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r--indra/newview/llinventoryfunctions.cpp6
1 files changed, 5 insertions, 1 deletions
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
{