forked from enlightenment/efl
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:
parent
8049d8a255
commit
79bc6ed244
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue