From c69c7bf6921b32154b3b32ffb820ce08d767ca1f Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 21 Nov 2012 08:35:03 +0100 Subject: [PATCH] FIRE-8283: Reinstate copy/paste context menu option for inventory links --- indra/newview/llinventorybridge.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index d2fa489164..85e8085980 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -641,6 +641,22 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, { disabled_items.push_back(std::string("Find Original")); } + + // FIRE-8283: Copy/cut for inventory links + items.push_back(std::string("Copy Separator")); + + items.push_back(std::string("Copy")); + if (!isItemCopyable()) + { + disabled_items.push_back(std::string("Copy")); + } + + items.push_back(std::string("Cut")); + if (!isItemMovable() || !isItemRemovable()) + { + disabled_items.push_back(std::string("Cut")); + } + // } else {