diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-08-19 16:16:10 +0300 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-08-19 16:16:10 +0300 |
commit | 1fe7dd2fd7f0f9b7d15e0090e9e14708edbebde9 (patch) | |
tree | ce2921913cd019bfa92fe6f7bf1aa3cda9229ca4 /indra/newview/llpanellandmarks.cpp | |
parent | a1e401c626ba4f0a46e86e31ab91d1cbecf07942 (diff) |
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-engine
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r-- | indra/newview/llpanellandmarks.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index 650a806c00..b4d19408f1 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -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) { |