elm_toolbar: do not focus a separator
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sat, 10 Jun 2017 09:20:14 +0000 (11:20 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sat, 10 Jun 2017 16:03:08 +0000 (18:03 +0200)
src/lib/elementary/elm_toolbar.c

index 8db974b..26d4068 100644 (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