elm_widget: also update if visible set is intersected

the error case is when a element is shown, but its parent was not.
In that case intersect returns immidiatly, without evalulating the focus
state again.
This commit is contained in:
Marcel Hollerbach 2017-09-18 14:21:38 +02:00
parent 1fb306fd3e
commit dcedaf8e09
1 changed files with 5 additions and 1 deletions

View File

@ -864,12 +864,16 @@ _elm_widget_efl_gfx_visible_set(Eo *obj, Elm_Widget_Smart_Data *pd, Eina_Bool vi
Evas_Object *o;
if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_VISIBLE, 0, vis))
return;
{
_full_eval(obj, pd);
return;
}
efl_gfx_visible_set(efl_super(obj, MY_CLASS), vis);
_full_eval(obj, pd);
it = evas_object_smart_iterator_new(obj);
EINA_ITERATOR_FOREACH(it, o)
{