summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_naviframe.c
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-09-06 20:03:26 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-09-06 20:35:35 +0900
commit26bacce0fd117896be65ebd75db4fed433529bd1 (patch)
tree02387ade854f1ccc2c859f9dd12b3bcf4473586f /src/lib/elementary/elc_naviframe.c
parent2f6e28881ec6f7f4c3157f7bb4202f37ded06aa7 (diff)
Revert "naviframe: Fix to finish transition for newly pushed item"
This reverts commit 8574128b67d336e796ca0f0abc9b97e65f7799d4.
Diffstat (limited to 'src/lib/elementary/elc_naviframe.c')
-rw-r--r--src/lib/elementary/elc_naviframe.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index a6d8f61..cd53e7a 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -627,10 +627,11 @@ end:
627 * This case can happen when an item is deleted by elm_object_item_del() 627 * This case can happen when an item is deleted by elm_object_item_del()
628 * right after the item is newly pushed. 628 * right after the item is newly pushed.
629 */ 629 */
630 if (nit == nfo->self) 630 if ((nfo->self == nit) || (nfo->related == nit))
631 nfo->self = NULL; 631 {
632 else if (nit == nfo->related) 632 nfo->self = NULL;
633 nfo->related = NULL; 633 nfo->related = NULL;
634 }
634 } 635 }
635 636
636 _item_free(nit); 637 _item_free(nit);