Don't allow creating settings on the "worn" inventory tab

meow-7.2.2
Ansariel 2020-05-28 17:09:45 +02:00
parent 72a50ca425
commit aa99fc52db
1 changed files with 1 additions and 0 deletions

View File

@ -8550,6 +8550,7 @@ void LLWornItemsFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
items.erase(std::remove(items.begin(), items.end(), std::string("New Gesture")), items.end());
items.erase(std::remove(items.begin(), items.end(), std::string("New Script")), items.end());
items.erase(std::remove(items.begin(), items.end(), std::string("New Folder")), items.end());
items.erase(std::remove(items.begin(), items.end(), std::string("New Settings")), items.end()); // <FS:Ansariel> Don't allow creating settings on the "worn" tab
hide_context_entries(menu, items, disabled_items);
}