From 3f3582af260d22c7434321b205f235294cb8f942 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 29 May 2019 09:29:20 -0400 Subject: [PATCH] elm/fileselector: return early in theme_apply during construction Summary: the remainder of this function is used to setup styles for subobjects which don't yet exist at this point @fix Depends on D8984 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8985 --- src/lib/elementary/elc_fileselector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elc_fileselector.c b/src/lib/elementary/elc_fileselector.c index 7056389f42..a3ef342e61 100644 --- a/src/lib/elementary/elc_fileselector.c +++ b/src/lib/elementary/elc_fileselector.c @@ -337,6 +337,7 @@ _elm_fileselector_efl_ui_widget_theme_apply(Eo *obj, Elm_Fileselector_Data *sd) int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret; + if (!efl_finalized_get(obj)) return int_ret; style = elm_widget_style_get(obj); _mirrored_set(obj, efl_ui_mirrored_get(obj));