elementary: no need for resize an object during destruction.

Differential Revision: https://phab.enlightenment.org/D6104
This commit is contained in:
Cedric BAIL 2018-05-04 14:40:06 -07:00
parent 2508c1a3ae
commit 6476896ec5
1 changed files with 3 additions and 1 deletions

View File

@ -546,7 +546,9 @@ _efl_ui_layout_object_efl_ui_widget_widget_sub_object_del(Eo *obj, Efl_Ui_Layout
break;
}
elm_layout_sizing_eval(obj);
// No need to resize object during destruction
if (!efl_invalidated_get(obj))
elm_layout_sizing_eval(obj);
return EINA_TRUE;
}