From 1087d34a1a8aaadc8cb131100c34300b08ecf9aa Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Thu, 30 Jul 2015 16:10:47 +0530 Subject: [PATCH] hoversel: use elm_object_focus_set to set focus on subobjects. We should steal the focus while setting focus to subobjects from parent. This issue is reproducable in case of setting focus on one of items of hoversel on expanded cb of hoversel. @fix --- src/lib/elc_hoversel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c index 393be05..d49dce2 100644 --- a/src/lib/elc_hoversel.c +++ b/src/lib/elc_hoversel.c @@ -284,7 +284,7 @@ _elm_hoversel_item_elm_widget_item_focus_set(Eo *eo_it EINA_UNUSED, Elm_Hoversel_Item_Data *it, Eina_Bool focused) { - elm_widget_focus_set(VIEW(it), focused); + elm_object_focus_set(VIEW(it), focused); } EOLIAN static Eina_Bool -- 2.7.4