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:
Matthias Clasen 2015-06-18 15:14:54 -04:00
parent 56c05c429f
commit 1b755c546e

View File

@ -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);