elm_genlist: set focus to the item when a user calls the function

This commit is contained in:
Marcel Hollerbach 2018-02-28 19:42:32 +01:00
parent 8410659bb6
commit e5af7c914a
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{