efl_ui_pager: redirect deleted objects to the top
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 26 Apr 2019 16:53:44 +0000 (18:53 +0200)
committerHermet Park <hermetpark@gmail.com>
Wed, 8 May 2019 04:25:02 +0000 (13:25 +0900)
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

src/lib/elementary/efl_ui_pager.c

index 3231374..2ee70d6 100644 (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))