IGFD: fix .* filter with label
This commit is contained in:
parent
1c171ed7bd
commit
716d42ee6d
|
@ -720,6 +720,7 @@ namespace IGFD
|
|||
auto arr = IGFD::Utils::SplitStringToVector(fs, ',', false);
|
||||
for (auto a : arr)
|
||||
{
|
||||
infos.firstFilter=a;
|
||||
infos.collectionfilters.emplace(a);
|
||||
}
|
||||
}
|
||||
|
@ -1048,7 +1049,7 @@ namespace IGFD
|
|||
// check if current file extention is covered by current filter
|
||||
// we do that here, for avoid doing that during filelist display
|
||||
// for better fps
|
||||
if (prSelectedFilter.exist(vTag) || prSelectedFilter.filter == ".*")
|
||||
if (prSelectedFilter.exist(vTag) || prSelectedFilter.firstFilter == ".*")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -745,6 +745,7 @@ namespace IGFD
|
|||
{
|
||||
public:
|
||||
std::string filter;
|
||||
std::string firstFilter;
|
||||
std::set<std::string> collectionfilters;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue