elm/genlist: only add calc job on theme apply if already finalized

not a required operation otherwise

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10519
This commit is contained in:
Mike Blumenkrantz 2019-10-21 15:53:35 -04:00
parent cf1920bce5
commit b89551410e
1 changed files with 1 additions and 1 deletions

View File

@ -3576,7 +3576,7 @@ _elm_genlist_efl_ui_widget_theme_apply(Eo *obj, Elm_Genlist_Data *sd)
itb->changed = EINA_TRUE;
}
if (sd->obj)
if (sd->obj && efl_finalized_get(obj))
_add_calc_job(sd);
elm_layout_sizing_eval(obj);
evas_event_thaw(e);