summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-10-23 13:20:53 +0300
committermaxim_productengine <mnikolenko@productengine.com>2012-10-23 13:20:53 +0300
commita780eb1a92811c2531c2fc1d211e8e5dd03da103 (patch)
tree0beafbc6fcbc99ad7ba1c3a271f306130d719c14 /indra/llui
parentab1f988c453e61e1d9dfc3339bf774921a351746 (diff)
CHUI-418 FIXED Check that mViewModelItem is not NULL
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index c8b8bcae48..c31a832141 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -505,7 +505,7 @@ void LLFolderView::sanitizeSelection()
// ensure that each ancestor is open and potentially passes filtering
BOOL visible = false;
- if(item->getViewModelItem())
+ if(item->getViewModelItem() != NULL)
{
visible = item->getViewModelItem()->potentiallyVisible(); // initialize from filter state for this item
}