From c7707a10c59199740c57d8eadcab7d9b1c2026f1 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Mon, 29 Dec 2014 19:03:18 +0200 Subject: MAINT-1998 FIXED 'Open' menu item should be disabled if agent has no copy permissions. --- indra/newview/llpanelobjectinventory.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra') diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index bf15f56b44..5fd575ee8b 100755 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -689,6 +689,10 @@ void LLTaskInvFVBridge::buildContextMenu(LLMenuGL& menu, U32 flags) else if (canOpenItem()) { items.push_back(std::string("Task Open")); + if (!isItemCopyable()) + { + disabled_items.push_back(std::string("Task Open")); + } } items.push_back(std::string("Task Properties")); if(isItemRenameable()) -- cgit v1.2.3