elm_toolbar: remove wrong focus highlight checking
Because of this focus_highlight checking, focus never goes to the first item when toolbar gets focus at the first time. @fix
This commit is contained in:
parent
182418dc1c
commit
8c870848b0
|
@ -760,8 +760,7 @@ _elm_toolbar_elm_widget_on_focus(Eo *obj, Elm_Toolbar_Data *sd, Elm_Object_Item
|
||||||
|
|
||||||
if (sd->last_focused_item)
|
if (sd->last_focused_item)
|
||||||
eo_it = sd->last_focused_item;
|
eo_it = sd->last_focused_item;
|
||||||
else if (_elm_config->first_item_focus_on_first_focus_in &&
|
else if (_elm_config->first_item_focus_on_first_focus_in)
|
||||||
elm_widget_focus_highlight_enabled_get(obj))
|
|
||||||
{
|
{
|
||||||
eo_it = elm_toolbar_first_item_get(obj);
|
eo_it = elm_toolbar_first_item_get(obj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue