forked from enlightenment/efl
efl_ui/layout: do not trigger sizing eval on subobj delete if layout is dead
Summary: @fix Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8980
This commit is contained in:
parent
1986a30162
commit
f4d13d3671
|
@ -576,7 +576,7 @@ _efl_ui_layout_base_efl_ui_widget_widget_sub_object_del(Eo *obj, Efl_Ui_Layout_D
|
|||
}
|
||||
|
||||
// No need to resize object during destruction
|
||||
if (wd->resize_obj && (!efl_invalidated_get(obj)))
|
||||
if (wd->resize_obj && efl_alive_get(obj))
|
||||
elm_layout_sizing_eval(obj);
|
||||
|
||||
return EINA_TRUE;
|
||||
|
|
Loading…
Reference in New Issue