forked from enlightenment/efl
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:
parent
1fb306fd3e
commit
dcedaf8e09
|
@ -864,12 +864,16 @@ _elm_widget_efl_gfx_visible_set(Eo *obj, Elm_Widget_Smart_Data *pd, Eina_Bool vi
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
|
|
||||||
if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_VISIBLE, 0, vis))
|
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);
|
efl_gfx_visible_set(efl_super(obj, MY_CLASS), vis);
|
||||||
|
|
||||||
_full_eval(obj, pd);
|
_full_eval(obj, pd);
|
||||||
|
|
||||||
|
|
||||||
it = evas_object_smart_iterator_new(obj);
|
it = evas_object_smart_iterator_new(obj);
|
||||||
EINA_ITERATOR_FOREACH(it, o)
|
EINA_ITERATOR_FOREACH(it, o)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue