summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_active_view_view_manager_plain.c')
-rw-r--r--src/lib/elementary/efl_ui_active_view_view_manager_plain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_active_view_view_manager_plain.c b/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
index 32c530d827..ea60d01627 100644
--- a/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
+++ b/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
@@ -86,8 +86,10 @@ _content_changed(Eo *obj, Efl_Ui_Active_View_View_Manager_Plain_Data *pd)
86{ 86{
87 if (efl_ui_active_view_active_index_get(pd->container) != pd->current_content) 87 if (efl_ui_active_view_active_index_get(pd->container) != pd->current_content)
88 { 88 {
89 int old_current_content = pd->current_content;
89 pd->current_content = efl_ui_active_view_active_index_get(pd->container); 90 pd->current_content = efl_ui_active_view_active_index_get(pd->container);
90 efl_gfx_entity_visible_set(efl_pack_content_get(pd->container, pd->current_content), EINA_FALSE); 91 efl_gfx_entity_visible_set(efl_pack_content_get(pd->container, old_current_content), EINA_FALSE);
92 efl_gfx_entity_visible_set(efl_pack_content_get(pd->container, pd->current_content), EINA_TRUE);
91 _geom_sync(obj, pd); 93 _geom_sync(obj, pd);
92 _emit_position(obj, pd); 94 _emit_position(obj, pd);
93 } 95 }