Fixing unblocking the image download after setting the model.

This commit is contained in:
sergiotarxz 2022-01-23 15:27:37 +01:00
parent 81a266fe3a
commit d78d687f6d

View File

@ -63,7 +63,7 @@ search_text_changed (GtkEntry *entry,
if (!mangas) return; if (!mangas) return;
GtkSingleSelection *selection = GTK_SINGLE_SELECTION ( GtkSingleSelection *selection = GTK_SINGLE_SELECTION (
gtk_list_view_get_model (list_view_mangas)); gtk_list_view_get_model (list_view_mangas));
controls->avoid_list_image_downloads = false;
gtk_single_selection_set_model (selection, gtk_single_selection_set_model (selection,
G_LIST_MODEL (mangas)); G_LIST_MODEL (mangas));
controls->avoid_list_image_downloads = false;
} }