FIRE-8283: Reinstate copy/paste context menu option for inventory links

Ansariel 2012-11-21 08:35:03 +01:00
parent c9c32b771a
commit c69c7bf692
1 changed files with 16 additions and 0 deletions

View File

@ -641,6 +641,22 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id,
{
disabled_items.push_back(std::string("Find Original"));
}
// <FS:Ansariel> 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"));
}
// </FS:Ansariel>
}
else
{