summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-12-30 16:30:26 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-12-30 16:30:26 +0200
commit0380372a54e98f582fbe995537f4c5e0ec700865 (patch)
tree41cfd8df439b53fdff8b8d2401e2b76d4bf830ab /indra
parent681ecc0d0fea674e1fd495198d0aa0ea4a4ddf4f (diff)
EXP-1523 WIP Defensive fix for a crash at LLFolderView::onItemsRemovalConfirmation().
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfolderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp
index 6ec2598e44..637ffd4d2c 100644
--- a/indra/newview/llfolderview.cpp
+++ b/indra/newview/llfolderview.cpp
@@ -1058,7 +1058,7 @@ void LLFolderView::onItemsRemovalConfirmation(const LLSD& notification, const LL
for (item_it = mSelectedItems.begin(); item_it != mSelectedItems.end(); ++item_it)
{
item = *item_it;
- if(item->isRemovable())
+ if (item && item->isRemovable())
{
items.push_back(item);
}