eo_it = sd->last_focused_item;
else if (sd->last_selected_item)
eo_it = sd->last_selected_item;
- else if (_elm_config->first_item_focus_on_first_focus_in &&
- elm_widget_focus_highlight_enabled_get(obj))
+ else if (_elm_config->first_item_focus_on_first_focus_in)
{
eo_it = elm_gengrid_first_item_get(obj);
is_sel = EINA_TRUE;
}
-
if (eo_it)
{
eo_it = _elm_gengrid_nearest_visible_item_get(obj, eo_it);
eo_it = sd->last_focused_item;
else if (sd->last_selected_item)
eo_it = sd->last_selected_item;
- else if (_elm_config->first_item_focus_on_first_focus_in &&
- elm_widget_focus_highlight_enabled_get(obj))
+ else if (_elm_config->first_item_focus_on_first_focus_in)
{
eo_it = elm_genlist_first_item_get(obj);
is_sel = EINA_TRUE;
eo_it = sd->last_focused_item;
else if (sd->last_selected_item)
eo_it = sd->last_selected_item;
- else if (_elm_config->first_item_focus_on_first_focus_in &&
- elm_widget_focus_highlight_enabled_get(obj))
+ else if (_elm_config->first_item_focus_on_first_focus_in)
{
eo_it = elm_list_first_item_get(obj);
is_sel = EINA_TRUE;