Fix issue reset setting does not work 34/99634/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 Nov 2016 11:54:40 +0000 (20:54 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 Nov 2016 11:54:40 +0000 (20:54 +0900)
Change-Id: Ib961375432ffcd2140b3ef452bbf3aec6c92265e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/option.cpp

index 8950499..dfc4a7e 100644 (file)
@@ -266,6 +266,7 @@ static void reset_settings_popup(void *data, Evas_Object *obj, void *event_info)
     icon_path = ICON_DIR"/tw_ic_popup_btn_check.png";
 #endif
     Evas_Object *btn_ok = create_popup_button(popup, "popup/circle/right", icon_path, POPUP_OK_BTN);
+    evas_object_data_set (btn_ok, "parent_genlist", obj);
     elm_object_part_content_set(popup, "button2", btn_ok);
     evas_object_smart_callback_add(btn_ok, "clicked", reset_settings_popup_response_ok_cb, popup);
     evas_object_show(popup);