elm_toolbar: fix _item_visiblity

'more' should indicate when a more item is needed, this is needed if one
item is set to visibility false, thus checking this here is required.

 #FocusBug

fix T6806

Differential Revision: https://phab.enlightenment.org/D6495
This commit is contained in:
Marcel Hollerbach 2018-07-02 10:58:52 +02:00
parent 16410aa1cf
commit c14ea532eb
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@ _items_visibility_fix(Elm_Toolbar *obj,
it->prio.visible = (*iw <= vw);
it->in_box = sd->bx;
if (!it->separator) count++;
if (!it->prio.visible)
*more = EINA_TRUE;
}
else
{