naviframe: Fix to reset pushing flag of pushed item.
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>
Wed, 5 Oct 2016 09:12:04 +0000 (18:12 +0900)
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.

src/lib/elementary/elc_naviframe.c

index 4411f02..3589434 100644 (file)
@@ -1580,6 +1580,8 @@ _item_push_helper(Elm_Naviframe_Item_Data *item)
         nfo->push = EINA_TRUE;
 
         _schedule_deferred(nfo, sd);
+
+        if (top_item) top_item->pushing = EINA_FALSE;
         item->pushing = EINA_TRUE;
      }
    else