elm/layout: do not trigger sizing eval on subobj deletion if no resize_obj set

Summary:
this has no effect since the resize_obj is what determines sizing

@fix
Depends on D8953

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8954
This commit is contained in:
Mike Blumenkrantz 2019-05-29 09:16:48 -04:00
parent 0dc166adbd
commit 75bdc620a1
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,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 (!efl_invalidated_get(obj))
if (wd->resize_obj && (!efl_invalidated_get(obj)))
elm_layout_sizing_eval(obj);
return EINA_TRUE;