SL-18945 Links have no 'cut' option

Links can be drag and dropped so they should be movable via 'cut' as well
master
Andrey Kleshchev 2023-01-11 16:03:33 +02:00
parent 007939f0a7
commit b3201e75b1
1 changed files with 6 additions and 0 deletions

View File

@ -831,6 +831,12 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id,
{
disabled_items.push_back(std::string("Find Original"));
}
items.push_back(std::string("Cut"));
if (!isItemMovable() || !isItemRemovable())
{
disabled_items.push_back(std::string("Cut"));
}
}
else
{