aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-03-09 18:52:42 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-03-15 15:39:12 +0100
commit7d2d6c7e1df91aadc776a495d3c44a5256cd56b9 (patch)
tree990579583edef85c4aaefb7db0dd0ff3a8af6573
parentefl_ui_focus_composition: redirect canvas move events to the adapter (diff)
downloadefl-7d2d6c7e1df91aadc776a495d3c44a5256cd56b9.tar.gz
elm_genlist: performe elm_item_focus_set
this means all neccessary fields with last focus and current focused item are updated correctly
-rw-r--r--src/lib/elementary/elm_genlist.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 1c81e6be22..a05aaa0871 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -5815,10 +5815,7 @@ _genlist_element_focused(void *data, const Efl_Event *ev)
if (efl_isa(item, ELM_GENLIST_ITEM_CLASS))
{
- _elm_genlist_item_focused(item);
- _all_items_deselect(pd);
- elm_genlist_item_selected_set(item, EINA_TRUE);
- elm_genlist_item_bring_in(item, ELM_GENLIST_ITEM_SCROLLTO_MIDDLE);
+ elm_object_item_focus_set(item, EINA_TRUE);
}
}