diff options
author | Kitty Barnett <develop@catznip.com> | 2017-06-02 16:44:00 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2017-06-02 16:44:00 +0200 |
commit | d7edeb2df8b225c39727bf506b4e5126852e2d5d (patch) | |
tree | 4bb5fd882b510662333565c49aaf10d115366fa1 /indra/llui/llfolderviewitem.cpp | |
parent | 71f580e72a0f16cc4b29a7132af5be154ad128a7 (diff) |
STORM-2149: Add a warning notification when deleting a folder of filtered content
Diffstat (limited to 'indra/llui/llfolderviewitem.cpp')
-rw-r--r-- | indra/llui/llfolderviewitem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp index 3d618548c4..0510e472c5 100644 --- a/indra/llui/llfolderviewitem.cpp +++ b/indra/llui/llfolderviewitem.cpp @@ -1176,6 +1176,11 @@ BOOL LLFolderViewFolder::needsArrange() return mLastArrangeGeneration < getRoot()->getArrangeGeneration(); } +bool LLFolderViewFolder::descendantsPassedFilter(S32 filter_generation) +{ + return getViewModelItem()->descendantsPassedFilter(filter_generation); +} + // Passes selection information on to children and record selection // information if necessary. BOOL LLFolderViewFolder::setSelection(LLFolderViewItem* selection, BOOL openitem, |