From 1c51271d56c0332394fb23dc843aecf812f6f901 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Tue, 13 Mar 2012 15:05:51 +0200 Subject: CHUI-56 FIXED Fixed a crash when deleting multiple inventory folders. --- indra/newview/llinventorybridge.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index ef58e4fa21..da85c81cf2 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -396,7 +396,11 @@ void LLInvFVBridge::removeBatchNoCheck(LLDynamicArrayupdateItem(gInventory.getItem(*it)); + LLViewerInventoryItem* item = gInventory.getItem(*it); + if (item) + { + model->updateItem(item); + } } // notify inventory observers. -- cgit v1.2.3