Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 09d3359

Browse files
committed
Don't default patch select filter to null
1 parent 12159f4 commit 09d3359

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flips-gtk.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ static GSList * SelectPatches(bool allowMulti, bool demandLocal)
274274
gtk_file_filter_add_pattern(filter, "*.ips");
275275
gtk_file_filter_add_pattern(filter, "*.ups");
276276
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(dialog), filter);
277+
gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter);
277278
//apparently the file chooser takes ownership of the filter. would be nice to document that in gtk_file_chooser_set_filter...
278279

279280
filter=gtk_file_filter_new();

0 commit comments

Comments
 (0)