diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2012-10-23 13:20:53 +0300 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2012-10-23 13:20:53 +0300 |
commit | a780eb1a92811c2531c2fc1d211e8e5dd03da103 (patch) | |
tree | 0beafbc6fcbc99ad7ba1c3a271f306130d719c14 | |
parent | ab1f988c453e61e1d9dfc3339bf774921a351746 (diff) |
CHUI-418 FIXED Check that mViewModelItem is not NULL
-rw-r--r-- | indra/llui/llfolderview.cpp | 2 |
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 } |