forked from AuroraMiddleware/gtk
Fix an oversight in the previous commit
We lost the line marking the search model as non-empty, causing us to show the 'no results' page despite there being results.
This commit is contained in:
parent
56c05c429f
commit
1b755c546e
@ -6138,6 +6138,9 @@ search_engine_hits_added_cb (GtkSearchEngine *engine,
|
||||
files = g_list_prepend (files, file);
|
||||
}
|
||||
|
||||
if (files)
|
||||
impl->priv->search_model_empty = FALSE;
|
||||
|
||||
_gtk_file_system_model_add_and_query_files (impl->priv->search_model,
|
||||
files,
|
||||
MODEL_ATTRIBUTES);
|
||||
|
Loading…
Reference in New Issue
Block a user