zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=88cc86222ebf3f4182d29fd5561ed06922b3415a

commit 88cc86222ebf3f4182d29fd5561ed06922b3415a
Author: Marcel Hollerbach <[email protected]>
Date:   Fri Apr 26 18:53:44 2019 +0200

    efl_ui_pager: redirect deleted objects to the top
    
    otherwise we would not give up ownership of the widget
    
    Reviewed-by: Cedric BAIL <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D8749
---
 src/lib/elementary/efl_ui_pager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/efl_ui_pager.c 
b/src/lib/elementary/efl_ui_pager.c
index 9752372028..5ea11e1028 100644
--- a/src/lib/elementary/efl_ui_pager.c
+++ b/src/lib/elementary/efl_ui_pager.c
@@ -821,6 +821,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))

-- 


Reply via email to