mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
filechooser: Fix setting unlisted filters
This is documented to work, but it was broken when we ported things to list models.
This commit is contained in:
parent
c8a9e7fa82
commit
4629182246
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user