DD-284 : Do not allow the creation of subfolders in stock folders

meow-7.2.2
Merov Linden 2014-11-18 15:46:21 -08:00
parent 3513633d86
commit 171b60d068
1 changed files with 4 additions and 0 deletions

View File

@ -3676,6 +3676,10 @@ void LLFolderBridge::buildContextMenuOptions(U32 flags, menuentry_vec_t& items
disabled_items.push_back(std::string("Paste"));
disabled_items.push_back(std::string("Delete"));
}
else if (getPreferredType() == LLFolderType::FT_MARKETPLACE_STOCK)
{
disabled_items.push_back(std::string("New Folder"));
}
}
if (marketplace_listings_id == mUUID)
{