summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-02 23:10:51 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-03 00:18:09 +0300
commitdb3e5afbfbbce73e8f8339e8b4f938f11023ca64 (patch)
treef21295e1ba85ebce17da26221788560ad26f6487 /indra/newview/llviewerinventory.cpp
parentbbadb8b3904ba620dde598367493f34b6fcc3226 (diff)
Viewer#1301 Implement Inventory Favorites Tab
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r--indra/newview/llviewerinventory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index b9a7c9448f..3a4ac96826 100644
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -1436,7 +1436,8 @@ void update_inventory_category(
if(obj)
{
if (LLFolderType::lookupIsProtectedType(obj->getPreferredType())
- && (updates.size() != 1 || !updates.has("thumbnail")))
+ && (updates.size() != 1
+ || !(updates.has("thumbnail") || updates.has("favorite"))))
{
LLNotificationsUtil::add("CannotModifyProtectedCategories");
return;