#4173 Crash at LLViewerInventoryItem::updateServer

master
Andrey Kleshchev 2025-05-28 15:10:32 +03:00 committed by Andrey Kleshchev
parent 03fa606cfd
commit b8cc1f76c6
1 changed files with 1 additions and 0 deletions

View File

@ -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();