{
x -= step_x;
- Elm_Object_Item *eo_gt = elm_genlist_selected_item_get(obj);
+ Elm_Object_Item *eo_gt = NULL;
+ if (_elm_config->item_select_on_focus_disable)
+ eo_gt = elm_object_focused_item_get(obj);
+ else
+ eo_gt = elm_genlist_selected_item_get(obj);
ELM_GENLIST_ITEM_DATA_GET(eo_gt, gt);
_elm_genlist_item_content_focus_set(gt, ELM_FOCUS_LEFT);
{
x += step_x;
- Elm_Object_Item *eo_gt = elm_genlist_selected_item_get(obj);
+ Elm_Object_Item *eo_gt = NULL;
+ if (_elm_config->item_select_on_focus_disable)
+ eo_gt = elm_object_focused_item_get(obj);
+ else
+ eo_gt = elm_genlist_selected_item_get(obj);
ELM_GENLIST_ITEM_DATA_GET(eo_gt, gt);
_elm_genlist_item_content_focus_set(gt, ELM_FOCUS_RIGHT);