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/. --HG-- branch : product-enginemeow-7.2.2
parent
a1e401c626
commit
1fe7dd2fd7
|
|
@ -1120,7 +1120,8 @@ bool LLLandmarksPanel::canSelectedBeModified(const std::string& command_name) co
|
|||
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue