summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-05-28 15:10:32 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-06-11 19:59:50 +0300
commitb8cc1f76c63b2fb7de0cff8ae03e413cdd1a9a2f (patch)
treea2ae6e964f0f0eb6b7783af0b53b6ab53ed8dc6c
parent03fa606cfd4544b930023fadb67090e4a411d319 (diff)
#4173 Crash at LLViewerInventoryItem::updateServer
-rw-r--r--indra/newview/llpanelpermissions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp
index 0ce1f0f9d3..0ce9ef7a7a 100644
--- a/indra/newview/llpanelpermissions.cpp
+++ b/indra/newview/llpanelpermissions.cpp
@@ -1175,6 +1175,7 @@ void LLPanelPermissions::onCommitName(LLUICtrl*, void* data)
{
LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item);
new_item->rename(tb->getText());
+ new_item->setComplete(true); // to not err at updateServer
new_item->updateServer(false);
gInventory.updateItem(new_item);
gInventory.notifyObservers();