[naviframe] Enable item pop during item push.

Enable item pop during item is pushing (during item push transition).
This commit is contained in:
Jaehyun Cho 2013-09-18 02:20:33 +09:00 committed by Daniel Juyung Seo
parent d0fa4594e8
commit aabd3e7f27
1 changed files with 3 additions and 2 deletions

View File

@ -1663,10 +1663,11 @@ _item_pop(Eo *obj, void *_pd, va_list *list)
it = (Elm_Naviframe_Item *)elm_naviframe_top_item_get(obj);
if (!it) return;
if (it->animator || it->popping) return;
if (it->popping) return;
it->popping = EINA_TRUE;
ELM_SAFE_FREE(it->animator, ecore_animator_del);
if (it->pop_cb)
{
if (!it->pop_cb(it->pop_data, (Elm_Object_Item *)it))