Fix bug language selection does not work 18/101918/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 2 Dec 2016 10:34:34 +0000 (19:34 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 2 Dec 2016 10:36:40 +0000 (02:36 -0800)
Change-Id: I8ace28f5c5335ecccba0acb7594f2561d71505ff
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/option.cpp

index 8a9a60b..7c083d0 100644 (file)
@@ -451,6 +451,10 @@ static void _language_gl_sel(void *data, Evas_Object *obj, void *event_info)
 
         // Update check button
         Evas_Object *ck = elm_object_item_part_content_get(item, "elm.swallow.end");
+        if (!ck) {
+            ck = elm_object_item_part_content_get(item, "elm.icon");
+        }
+
         if (ck) {
             evas_object_data_set(ck, "parent_genlist", obj);
             Eina_Bool state = elm_check_state_get(ck);