STORM-519 FIXED "Delete" is enabled in the context menu for folders which contain worn items

- Disable "Delete" menu item in case selected folder contains non-removable items.
meow-7.2.2
Paul ProductEngine 2011-07-19 21:24:56 +03:00
parent 4dc0850da7
commit 880a7ebb92
1 changed files with 5 additions and 0 deletions

View File

@ -2514,6 +2514,11 @@ void LLFolderBridge::folderOptionsMenu()
}
}
if (!isItemRemovable())
{
disabled_items.push_back(std::string("Delete"));
}
#ifndef LL_RELEASE_FOR_DOWNLOAD
if (LLFolderType::lookupIsProtectedType(type))
{