summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-21 15:53:35 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-10-29 16:09:09 +0100
commitdf79f01b2a9ff89c4130e0cf1993093e703e4c67 (patch)
tree461e0636c803e33f2812bbb614240cd322a00c07
parent27ff978ca9d7270067b5c522e628ba3c5da1c79c (diff)
downloadefl-df79f01b2a9ff89c4130e0cf1993093e703e4c67.tar.gz
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
-rw-r--r--src/lib/elementary/elm_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 816245496a..991f1ace25 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -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);