summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-31 23:29:24 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-31 23:29:47 +0300
commitcc69541358e294943d0e4f88034644af1a346ac7 (patch)
treed5bea85c42b5cac5f114d1ac5e92a639ba2f0431 /indra
parent1cf4a2c95210ba94c330710e0a98f762bf54c605 (diff)
SL-20096 Thumbnails shouldn't be editable for items in the library
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llsidepaneliteminfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsidepaneliteminfo.cpp b/indra/newview/llsidepaneliteminfo.cpp
index 48e610a135..6fc9c8c6b5 100644
--- a/indra/newview/llsidepaneliteminfo.cpp
+++ b/indra/newview/llsidepaneliteminfo.cpp
@@ -446,7 +446,7 @@ void LLSidepanelItemInfo::refreshFromItem(LLViewerInventoryItem* item)
}
// Not yet supported for task inventories
- mChangeThumbnailBtn->setEnabled(mObjectID.isNull());
+ mChangeThumbnailBtn->setEnabled(mObjectID.isNull() && ALEXANDRIA_LINDEN_ID != perm.getOwner());
////////////
// ORIGIN //