forked from AuroraMiddleware/gtk
Actually use search results from the model
We didn't connect to the signals, so we never picked up any search results from the model engine. Good thing, since it was returning the wrong thing.
This commit is contained in:
parent
1069e2b9cc
commit
30de4cc7bb
@ -481,6 +481,7 @@ _gtk_search_engine_set_model (GtkSearchEngine *engine,
|
||||
if (model)
|
||||
{
|
||||
engine->priv->model = _gtk_search_engine_model_new (model);
|
||||
connect_engine_signals (engine->priv->model, engine);
|
||||
if (engine->priv->query)
|
||||
_gtk_search_engine_set_query (engine->priv->model, engine->priv->query);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user