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
This commit is contained in:
Mike Blumenkrantz 2019-05-29 09:29:20 -04:00
parent 4046628633
commit 3f3582af26
1 changed files with 1 additions and 0 deletions

View File

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