diff options
| -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  		} | 
