aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-26 18:53:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-30 20:45:51 +0200
commit79bc6ed244d5ded7cd5e493d94cc2aaaf77bc4c4 (patch)
tree4b31faa67e21e9fba5b63510695d77bf640127f6
parentefl_ui_pager: implement rollover behavior (diff)
downloadefl-79bc6ed244d5ded7cd5e493d94cc2aaaf77bc4c4.tar.gz
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
-rw-r--r--src/lib/elementary/efl_ui_pager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_pager.c b/src/lib/elementary/efl_ui_pager.c
index 3231374549..2ee70d6c21 100644
--- a/src/lib/elementary/efl_ui_pager.c
+++ b/src/lib/elementary/efl_ui_pager.c
@@ -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))