Skip to content

Commit

Permalink
Don't default patch select filter to null
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcaro committed Jan 6, 2025
1 parent 12159f4 commit 09d3359
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flips-gtk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ static GSList * SelectPatches(bool allowMulti, bool demandLocal)
gtk_file_filter_add_pattern(filter, "*.ips");
gtk_file_filter_add_pattern(filter, "*.ups");
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), filter);
gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter);
//apparently the file chooser takes ownership of the filter. would be nice to document that in gtk_file_chooser_set_filter...

filter=gtk_file_filter_new();
Expand Down

0 comments on commit 09d3359

Please sign in to comment.