diff options
author | Merov Linden <merov@lindenlab.com> | 2015-05-08 20:41:43 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2015-05-08 20:41:43 -0700 |
commit | 676640278402b01473c81cdb945dc7696a549240 (patch) | |
tree | a50e2a1651444d61f65ab1aa30a460f6f8772b6a /indra | |
parent | cfd4027ba9e9bec0751ec79db114ca6a69223e3f (diff) |
DD-399 : Use folder name to create new folders when under listing level
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llinventoryfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp index cc620bc0e2..48748ff823 100755 --- a/indra/newview/llinventoryfunctions.cpp +++ b/indra/newview/llinventoryfunctions.cpp @@ -1778,7 +1778,7 @@ bool validate_marketplacelistings(LLInventoryCategory* cat, validation_callback_ // Create a new folder LLUUID parent_uuid = (depth > 2 ? viewer_cat->getParentUUID() : viewer_cat->getUUID()); LLViewerInventoryItem* viewer_inv_item = gInventory.getItem(items_vector_it->second.back()); - std::string folder_name = (depth > 1 ? viewer_cat->getName() : viewer_inv_item->getName()); + std::string folder_name = (depth >= 1 ? viewer_cat->getName() : viewer_inv_item->getName()); LLFolderType::EType new_folder_type = (items_vector_it->first == default_key ? LLFolderType::FT_NONE : LLFolderType::FT_MARKETPLACE_STOCK); if (cb) { |