summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_active_view_container.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_active_view_container.c b/src/lib/elementary/efl_ui_active_view_container.c
index 9d19b07cf0..03eca6fab6 100644
--- a/src/lib/elementary/efl_ui_active_view_container.c
+++ b/src/lib/elementary/efl_ui_active_view_container.c
@@ -464,12 +464,10 @@ _unpack_all(Eo *obj EINA_UNUSED,
464 { 464 {
465 Eo *content = eina_list_data_get(pd->content_list); 465 Eo *content = eina_list_data_get(pd->content_list);
466 466
467 _unpack(obj, pd, content, 0);
468
469 if (clear) 467 if (clear)
470 efl_del(content); 468 efl_del(content);
471 469 else
472 pd->content_list = eina_list_remove(pd->content_list, content); 470 _unpack(obj, pd, content, 0);
473 } 471 }
474} 472}
475 473
@@ -503,6 +501,7 @@ _unpack(Eo *obj,
503 pd->content_list = eina_list_remove(pd->content_list, subobj); 501 pd->content_list = eina_list_remove(pd->content_list, subobj);
504 _elm_widget_sub_object_redirect_to_top(obj, subobj); 502 _elm_widget_sub_object_redirect_to_top(obj, subobj);
505 503
504 if (!efl_alive_get(obj)) return;
506 if (index < pd->curr.page) 505 if (index < pd->curr.page)
507 pd->curr.page--; 506 pd->curr.page--;
508 507