diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-09 00:19:14 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-09 17:10:13 +0300 |
commit | e72c803df01e95d4ce73c0b207b1da9ea89eb144 (patch) | |
tree | 0095ef3bc1e703321a4478a87c7fe184e153b00e /indra/llui | |
parent | 1e4f2ec07e32a142f35817d3186a124df3f8cd25 (diff) |
SL-17741 Paste is not disabled when copying 'no copy' items
We should allow to copy 'no copy' items for the ability to paste them as links, but regular 'paste' should be disabled in such case
Also fixed library items enabling 'paste as link', we can not link library items.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llfolderviewmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderviewmodel.h b/indra/llui/llfolderviewmodel.h index 093e213be3..618169a8fe 100644 --- a/indra/llui/llfolderviewmodel.h +++ b/indra/llui/llfolderviewmodel.h @@ -172,7 +172,7 @@ public: virtual BOOL removeItem() = 0; virtual void removeBatch(std::vector<LLFolderViewModelItem*>& batch) = 0; - virtual BOOL isItemCopyable() const = 0; + virtual bool isItemCopyable(bool can_copy_as_link = true) const = 0; virtual BOOL copyToClipboard() const = 0; virtual BOOL cutToClipboard() = 0; virtual bool isCutToClipboard() { return false; }; |