forked from enlightenment/efl
elm/genlist: trigger filter,done callback immediately if no filter queue exists
the documentation says this should trigger when filtering is done, and if no filtering is pending then it is done @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10526
This commit is contained in:
parent
846563f13c
commit
7f69997fd0
|
@ -8010,9 +8010,11 @@ _elm_genlist_filter_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, void *filter_
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
sd->queue_filter_enterer = ecore_idle_enterer_add(_item_filter_enterer,
|
||||
sd->obj);
|
||||
if (!sd->filter_queue)
|
||||
efl_event_callback_legacy_call(sd->obj, ELM_GENLIST_EVENT_FILTER_DONE, NULL);
|
||||
else
|
||||
sd->queue_filter_enterer = ecore_idle_enterer_add(_item_filter_enterer,
|
||||
sd->obj);
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue