EXP-1906 : Allow cut of folders in place panel.

meow-7.2.2
Merov Linden 2012-02-17 18:45:38 -08:00
parent 2fdb18971b
commit b14e34444b
1 changed files with 2 additions and 3 deletions

View File

@ -1149,7 +1149,7 @@ Rules:
- cut/rename/delete in any other accordions
- paste - only in Favorites, Landmarks accordions
3. For Folders we can: perform any action in Landmarks accordion, except Received folder
4. We can not paste folders from Clipboard (processed by LLFolderView::canPaste())
4. We can paste folders from Clipboard (processed by LLFolderView::canPaste())
5. Check LLFolderView/Inventory Bridges rules
*/
bool LLLandmarksPanel::canItemBeModified(const std::string& command_name, LLFolderViewItem* item) const
@ -1206,8 +1206,7 @@ bool LLLandmarksPanel::canItemBeModified(const std::string& command_name, LLFold
if ("cut" == command_name)
{
// "Cut" disabled for folders. See EXT-8697.
can_be_modified = root_folder->canCut() && listenerp->getInventoryType() != LLInventoryType::IT_CATEGORY;
can_be_modified = root_folder->canCut();
}
else if ("rename" == command_name)
{