forked from enlightenment/efl
elm_genlist: performe elm_item_focus_set
this means all neccessary fields with last focus and current focused item are updated correctly
This commit is contained in:
parent
df55911967
commit
7d2d6c7e1d
|
@ -5815,10 +5815,7 @@ _genlist_element_focused(void *data, const Efl_Event *ev)
|
||||||
|
|
||||||
if (efl_isa(item, ELM_GENLIST_ITEM_CLASS))
|
if (efl_isa(item, ELM_GENLIST_ITEM_CLASS))
|
||||||
{
|
{
|
||||||
_elm_genlist_item_focused(item);
|
elm_object_item_focus_set(item, EINA_TRUE);
|
||||||
_all_items_deselect(pd);
|
|
||||||
elm_genlist_item_selected_set(item, EINA_TRUE);
|
|
||||||
elm_genlist_item_bring_in(item, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue