forked from enlightenment/efl
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:
parent
4046628633
commit
3f3582af26
|
@ -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));
|
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 (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);
|
style = elm_widget_style_get(obj);
|
||||||
_mirrored_set(obj, efl_ui_mirrored_get(obj));
|
_mirrored_set(obj, efl_ui_mirrored_get(obj));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue