diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llinventorybridge.cpp | 6 | 
1 files changed, 5 insertions, 1 deletions
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(LLDynamicArray<LLFolderViewEventListener*  	for(; it != end; ++it)  	{  		gInventory.moveObject((*it), trash_id); -		model->updateItem(gInventory.getItem(*it)); +		LLViewerInventoryItem* item = gInventory.getItem(*it); +		if (item) +		{ +			model->updateItem(item); +		}  	}  	// notify inventory observers.  | 
