diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 3e7ed0ccf7..4d24a7c79e 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -6856,7 +6856,7 @@ set_current_filter (GtkFileChooserWidget *impl, if (filter) { if (!g_list_store_find (impl->filters, filter, &filter_index)) - return; + filter_index = GTK_INVALID_LIST_POSITION; } else {