diff options
author | Richard Linden <none@none> | 2012-06-27 18:56:10 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-06-27 18:56:10 -0700 |
commit | cb865a7e1300d4ce0bedae7c856fb210b68a43f8 (patch) | |
tree | 5a792a9f87692c85f1b3470931a162c0af9b48bf /indra/newview/llpanellandmarks.cpp | |
parent | 5b6db72c5b7c5c3c4cfde671480ec1fc56bbd859 (diff) |
CHUI-101 WIP Make LLFolderView general purpose
moved filtering logic to viewmodel
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r-- | indra/newview/llpanellandmarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index 901c6379de..0b899d34f4 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -102,7 +102,7 @@ void LLCheckFolderState::doFolder(LLFolderViewFolder* folder) // Counting only folders that pass the filter. // The listener check allow us to avoid counting the folder view // object itself because it has no listener assigned. - if (folder->hasFilteredDescendants() && folder->getViewModelItem()) + if (folder->getViewModelItem()->descendantsPassedFilter()) { if (folder->isOpen()) { |