elm/diskselector: trigger sizing eval during theme set only if finalized

Summary:
this can't be successfully completed until the object has been fully constructed

@fix
Depends on D8957

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8958
This commit is contained in:
Mike Blumenkrantz 2019-05-29 09:17:12 -04:00
parent 82697854b3
commit 396f150fb4
1 changed files with 5 additions and 2 deletions

View File

@ -862,8 +862,11 @@ _elm_diskselector_efl_ui_widget_theme_apply(Eo *obj, Elm_Diskselector_Data *sd)
}
}
_theme_data_get(obj);
_sizing_eval(obj);
if (efl_finalized_get(obj))
{
_theme_data_get(obj);
_sizing_eval(obj);
}
evas_event_thaw(evas);
evas_event_thaw_eval(evas);