Skip to content

Commit 728b038

Browse files
committed
#4173 Crash at LLViewerInventoryItem::updateServer
1 parent fb1e2a9 commit 728b038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

indra/newview/llpanelpermissions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,7 @@ void LLPanelPermissions::onCommitName(LLUICtrl*, void* data)
11751175
{
11761176
LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item);
11771177
new_item->rename(tb->getText());
1178+
new_item->setComplete(true); // to not err at updateServer
11781179
new_item->updateServer(false);
11791180
gInventory.updateItem(new_item);
11801181
gInventory.notifyObservers();

0 commit comments

Comments
 (0)