'ugd->navi_it' value was overwritten in the profile view. Because of this
we can't show the scan button after re-enabling BT in the main view.
Change-Id: I1b3b2268cd3927f8004b7d0b8b7ecbbea7d1d1cb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
navi_it = elm_naviframe_item_push(vd->navi_bar, BT_STR_DETAILS,
back_button, NULL, genlist, NULL);
- ugd->navi_it = navi_it;
+ vd->navi_it = navi_it;
+
evas_object_smart_callback_add(back_button, "clicked", __bt_profile_back_cb, ugd);
elm_naviframe_prev_btn_auto_pushed_set(vd->navi_bar, EINA_FALSE);
elm_naviframe_item_pop_cb_set(navi_it, __bt_profile_back_clicked_cb,
ugd);
- vd->navi_it = navi_it;
FN_END;