naviframe: Fix to reset pushing flag of pushed item. 02/91002/3
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 4 Oct 2016 09:55:06 +0000 (18:55 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 7 Oct 2016 04:15:55 +0000 (21:15 -0700)
If multiple items are pushed, then pushing flag of the pushed item is
not reset.
To resolve this problem, pushing flag of the pushed item is reset.

Change-Id: Ia4734f9efcee1f92b882bcd7381661c743b7d335

src/lib/elc_naviframe.c

index 24b64376c984f5e6944413edc8c926b673875273..55852c890f246e1144384f506c54cf62c5fc27b6 100644 (file)
@@ -1671,6 +1671,8 @@ _item_push_helper(Elm_Naviframe_Item_Data *item)
 
         sd->ops = eina_list_append(sd->ops, nfo);
         if (!sd->animator) sd->animator = ecore_animator_add(_deferred, sd);
+
+        if (top_item) top_item->pushing = EINA_FALSE;
         item->pushing = EINA_TRUE;
      }
    else