The separator is not a real item. So it shouldn't be counted.
SVN revision: 71185
This commit is contained in:
parent
797bd6ecee
commit
069260423e
|
@ -1627,6 +1627,7 @@ elm_toolbar_item_separator_set(Elm_Object_Item *it, Eina_Bool separator)
|
|||
item->separator = separator;
|
||||
scale = (elm_widget_scale_get(obj) * _elm_config->scale);
|
||||
_theme_hook_item(obj, item, scale, wd->icon_size);
|
||||
wd->item_count--;
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue