Skip to content

Commit

Permalink
Merge pull request #48 from KeyMaster-/patch-1
Browse files Browse the repository at this point in the history
Reset hasAllFilter_ when changing type filters
  • Loading branch information
AirGuanZ committed Aug 6, 2023
2 parents fbafb08 + 4f31801 commit b63351e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imfilebrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ inline void ImGui::FileBrowser::SetTypeFilters(
#endif

// insert auto-generated filter

hasAllFilter_ = false;
if(typeFilters.size() > 1)
{
hasAllFilter_ = true;
Expand Down

0 comments on commit b63351e

Please sign in to comment.