efl_ui_pager: redirect deleted objects to the top

otherwise we would not give up ownership of the widget

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8749
This commit is contained in:
Marcel Hollerbach 2019-04-26 18:53:44 +02:00
parent 8049d8a255
commit 79bc6ed244
1 changed files with 1 additions and 0 deletions

View File

@ -867,6 +867,7 @@ _unpack(Eo *obj,
int self_curr_page = pd->curr.page;
pd->content_list = eina_list_remove(pd->content_list, subobj);
pd->cnt--;
_elm_widget_sub_object_redirect_to_top(obj, subobj);
if (((index == pd->curr.page) && ((index != 0) || (pd->cnt == 0))) ||
(index < pd->curr.page))