Revert "naviframe: Fix to finish transition for newly pushed item"

This reverts commit 8574128b67.
This commit is contained in:
Jaehyun Cho 2017-09-06 20:03:26 +09:00
parent 2f6e28881e
commit 26bacce0fd
1 changed files with 5 additions and 4 deletions

View File

@ -627,10 +627,11 @@ end:
* This case can happen when an item is deleted by elm_object_item_del()
* right after the item is newly pushed.
*/
if (nit == nfo->self)
nfo->self = NULL;
else if (nit == nfo->related)
nfo->related = NULL;
if ((nfo->self == nit) || (nfo->related == nit))
{
nfo->self = NULL;
nfo->related = NULL;
}
}
_item_free(nit);