summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-11-07 17:33:00 -0800
committerCosmic Linden <cosmic@lindenlab.com>2023-11-09 13:54:42 -0800
commit0d50f29697f999c91a4bed702b9bae281b247250 (patch)
tree600c08c6021ebac2a8041b1764b26412c8fd4530 /indra
parent6ba5954d66523cedf5e69928e223f9820bd141ac (diff)
SL-20553: Fix inventory item not updating with correct permission label in UI
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventorymodel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 74a5442586..ca13b9eb03 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -1465,6 +1465,10 @@ U32 LLInventoryModel::updateItem(const LLViewerInventoryItem* item, U32 mask)
{
mask |= LLInventoryObserver::LABEL;
}
+ if (old_item->getPermissions() != item->getPermissions())
+ {
+ mask |= LLInventoryObserver::INTERNAL;
+ }
old_item->copyViewerItem(item);
if (update_parent_on_server)
{