bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e5af7c914a1dfef13ca28150ae103ab360350f8d

commit e5af7c914a1dfef13ca28150ae103ab360350f8d
Author: Marcel Hollerbach <[email protected]>
Date:   Wed Feb 28 19:42:32 2018 +0100

    elm_genlist: set focus to the item when a user calls the function
---
 src/lib/elementary/elm_genlist.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 0c686d9e23..1c81e6be22 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -6156,6 +6156,8 @@ _elm_genlist_item_elm_widget_item_item_focus_set(Eo 
*eo_it, Elm_Gen_Item *it, Ei
                _elm_genlist_item_unfocused(sd->focused_item);
              _elm_genlist_item_focused(eo_it);
 
+             efl_ui_focus_manager_focus_set(it->base->widget, eo_it);
+
              /* If item is not realized state, widget couldn't get 
focus_highlight data. */
              if (it->realized)
                {

-- 


Reply via email to