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:
Mike Blumenkrantz 2019-05-29 09:26:08 -04:00
parent 1986a30162
commit f4d13d3671
1 changed files with 1 additions and 1 deletions

View File

@ -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;