From cc69541358e294943d0e4f88034644af1a346ac7 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Mon, 31 Jul 2023 23:29:24 +0300
Subject: SL-20096 Thumbnails shouldn't be editable for items in the library

---
 indra/newview/llsidepaneliteminfo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'indra')

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 //
-- 
cgit v1.2.3