1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FileBrowserComponent: Respect FileFilters in TreeView mode

This fixes a regression introduced in
a400d3ebe0.
This commit is contained in:
attila 2023-05-31 11:16:51 +02:00
parent f5cd9547dd
commit f7e04d1423

View file

@ -195,8 +195,9 @@ public:
return it->second;
auto insertion = contentsLists.emplace (std::piecewise_construct,
std::forward_as_tuple (f),
std::forward_as_tuple (nullptr, root.getTimeSliceThread()));
std::forward_as_tuple (f),
std::forward_as_tuple (root.getFilter(),
root.getTimeSliceThread()));
return insertion.first->second;
}();