genlist :fix wrong item paramenter pass on focus_set 31/141931/1
authorSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Wed, 2 Aug 2017 04:46:00 +0000 (13:46 +0900)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Wed, 2 Aug 2017 04:46:05 +0000 (13:46 +0900)
Change-Id: Ibe4e0e0709020e4d16788094854cb2ccdb187167
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
src/mobile_lib/elm_genlist.c

index 82048ec..656863c 100644 (file)
@@ -960,7 +960,7 @@ _item_content_realize(Elm_Gen_Item *it,
         if (elm_widget_focused_object_get(content))
           {
              if (GL_IT(it)->wsd->focused_item != it)
-               elm_object_item_focus_set(it, EINA_TRUE);
+               elm_object_item_focus_set(EO_OBJ(it), EINA_TRUE);
 
              GL_IT(it)->wsd->focused_content = content;
           }