summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-12-19 06:00:48 -0800
committerMerov Linden <merov@lindenlab.com>2014-12-19 06:00:48 -0800
commitb0f590f6ab4033503ff9d80e2374e374397d40fb (patch)
tree97e9758c011105b48218cbd2e611c51cc967520d /indra/newview/llpanelobjectinventory.cpp
parentd0d5a6a15cf3c573c89ce590030c7a150b19dd05 (diff)
parent4ec9bce3c2a715f53938e4568c95b7a2bdfc9e16 (diff)
Pull merge from lindenlab/viewer-release
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rwxr-xr-xindra/newview/llpanelobjectinventory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index 25023073a2..a7a0196770 100755
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -698,6 +698,10 @@ void LLTaskInvFVBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
if(isItemRenameable())
{
items.push_back(std::string("Task Rename"));
+ if ((flags & FIRST_SELECTED_ITEM) == 0)
+ {
+ disabled_items.push_back(std::string("Task Rename"));
+ }
}
if(isItemRemovable())
{