diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-09-04 20:56:10 +0300 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-10 21:48:43 +0300 |
commit | 992d4ec36f8b37b6451cb0e76bfa29bc3bec365e (patch) | |
tree | 6f85514d4c87c085cdc7b1fc8cd8f5b9bd28b031 /indra/newview/llfloateropenobject.cpp | |
parent | 6675321e6abe92fa9968e998125bcc0f520234f0 (diff) |
SL-19826 Implement feedback for dropping into flat folder view Part#2
Diffstat (limited to 'indra/newview/llfloateropenobject.cpp')
-rw-r--r-- | indra/newview/llfloateropenobject.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/newview/llfloateropenobject.cpp b/indra/newview/llfloateropenobject.cpp index 73eaced562..d3ab22f792 100644 --- a/indra/newview/llfloateropenobject.cpp +++ b/indra/newview/llfloateropenobject.cpp @@ -184,9 +184,14 @@ void LLFloaterOpenObject::callbackCreateInventoryCategory(const LLUUID& category // Copy and/or move the items into the newly created folder. // Ignore any "you're going to break this item" messages. - BOOL success = move_inv_category_world_to_agent(object_id, category_id, TRUE, - callbackMoveInventory, - (void*)wear_data); + BOOL success = move_inv_category_world_to_agent(object_id, + category_id, + TRUE, + [](S32 result, void* data, const LLMoveInv*) + { + callbackMoveInventory(result, data); + }, + (void*)wear_data); if (!success) { delete wear_data; |