FIRE-8283: Reinstate copy/paste context menu option for inventory links
parent
c9c32b771a
commit
c69c7bf692
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue