bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7f69997fd0b2a91fa8195d4a8c7aad1f98863f7c
commit 7f69997fd0b2a91fa8195d4a8c7aad1f98863f7c Author: Mike Blumenkrantz <[email protected]> Date: Wed Oct 23 10:38:53 2019 -0400 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 <[email protected]> Differential Revision: https://phab.enlightenment.org/D10526 --- src/lib/elementary/elm_genlist.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index 0ad940c1bc..a9534f8843 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -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 --
