diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-09-06 02:56:11 +0300 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-10 21:48:43 +0300 |
commit | f24f72d2f9db7490b169daea16f8ab8400ca12b4 (patch) | |
tree | fcbf0ade3df878618dc0f123497900e3ecaa72dd /indra/newview/llinventoryfunctions.cpp | |
parent | 992d4ec36f8b37b6451cb0e76bfa29bc3bec365e (diff) |
SL-19826 Gallery multiselect support Part#3
wip
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rw-r--r-- | indra/newview/llinventoryfunctions.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index f5f0d74f0f..4aeacae6ed 100644 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -454,7 +454,10 @@ void copy_inventory_category(LLInventoryModel* model, inventory_func_type func = [model, cat, root_copy_id, move_no_copy_items, callback](const LLUUID &new_id) { copy_inventory_category_content(new_id, model, cat, root_copy_id, move_no_copy_items); - callback(new_id); + if (callback) + { + callback(new_id); + } }; gInventory.createNewCategory(parent_id, LLFolderType::FT_NONE, cat->getName(), func, cat->getThumbnailUUID()); } |