Commits

Seth ProductEngine committed 2c24911

EXT-8697 FIXED Disabled "Cut" context menu item for folders in 'My Landmarks'.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/867/.

  • Participants
  • Parent commits 42f8b17
  • Branches product-engine

Comments (0)

Files changed (1)

File indra/newview/llpanellandmarks.cpp

 
 		if ("cut" == command_name)
 		{
-			can_be_modified = root_folder->canCut();
+			// "Cut" disabled for folders. See EXT-8697.
+			can_be_modified = root_folder->canCut() && listenerp->getInventoryType() != LLInventoryType::IT_CATEGORY;
 		}
 		else if ("rename" == command_name)
 		{