From a0150257c5839a55874b67775be81813c2e22541 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 29 May 2019 09:16:48 -0400 Subject: [PATCH] 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 --- src/lib/elementary/efl_ui_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 415bd3d..8feaf24 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -739,7 +739,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; -- 2.7.4