diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-11 16:03:33 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-11 16:03:33 +0200 |
commit | b3201e75b1908dd5186d6561b6706f2cc07c92c3 (patch) | |
tree | 1d0785cb4108361c62be4cf0aba0b6355125dc1f | |
parent | 007939f0a76fd2f596d4d4252578af3d30234b33 (diff) |
SL-18945 Links have no 'cut' option
Links can be drag and dropped so they should be movable via 'cut' as well
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 7a3b913ed5..db347f7096 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -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 { |