diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2024-12-19 17:06:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-19 17:06:34 +0200 |
commit | c88a7d1d274b090f5ca7484a8b1f3ccc36aa1980 (patch) | |
tree | a689388abef228fcd57d3ebd3af8b7fe92cc5b1b /indra/llui/llfolderview.h | |
parent | 8ed31a73d3e92517ffec04ca61c12ec6a2e81742 (diff) |
#3302 fix crash on changing filter string when content is loading or there is no object selected
Diffstat (limited to 'indra/llui/llfolderview.h')
-rw-r--r-- | indra/llui/llfolderview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llfolderview.h b/indra/llui/llfolderview.h index 62ef2a0626..82637e33ea 100644 --- a/indra/llui/llfolderview.h +++ b/indra/llui/llfolderview.h @@ -414,6 +414,7 @@ public: virtual void doItem(LLFolderViewItem* item) {} void setApply(bool apply); void clearOpenFolders() { mOpenFolders.clear(); } + bool hasOpenFolders() { return !mOpenFolders.empty(); } protected: std::set<LLUUID> mOpenFolders; bool mApply; |