elm_toolbar: do not focus a separator

This commit is contained in:
Marcel Hollerbach 2017-06-10 11:20:14 +02:00
parent 28311d4327
commit a6c5ce4b32
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ _item_focus_eval(Elm_Toolbar_Item_Data *pd)
if (!evas_object_visible_get(VIEW(pd)))
want = EINA_FALSE;
if (pd->separator)
want = EINA_FALSE;
if (!!pd->registered == !!want) return;
//grab manager from widget