Merge "navigationbar - fixed a to_content_pop API logic error."
authorChunEon Park <chuneon.park@samsung.com>
Tue, 23 Aug 2011 00:48:15 +0000 (09:48 +0900)
committerGerrit Code Review <git@Maetan>
Tue, 23 Aug 2011 00:48:15 +0000 (09:48 +0900)
src/lib/elc_navigationbar.c

index c64d147..5697e40 100644 (file)
@@ -856,6 +856,9 @@ elm_navigationbar_to_content_pop(Evas_Object *obj, Evas_Object *content)
    //find item to be popped and to be shown
    it = prev_it = NULL;
    ll = eina_list_last(wd->stack);
+
+   if (elm_navigationbar_content_top_get(obj) == content) return;
+
    if (ll)
      {
         prev_it = ll->data;