diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2019-03-14 14:16:50 -0700 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-03-27 15:03:12 -0700 |
commit | e05b8ae9caffb03144bb458a3c634c59c5c49e09 (patch) | |
tree | abb4b825f1ac122d8ae101d28adf1c12b0ec3847 /src | |
parent | 791ca77a68debe5ec80f3155d5641b9cf2523002 (diff) | |
download | efl-e05b8ae9caffb03144bb458a3c634c59c5c49e09.tar.gz |
elementary: only apply text when the object is not invalidated and dying.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8359
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/elementary/efl_ui_layout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 9ba90026a9..f779bb95dc 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -2764,6 +2764,9 @@ EAPI Eina_Bool elm_layout_text_set(Eo *obj, const char *part, const char *text) { Eo *part_obj; + + if (efl_invalidating_get(obj) || efl_invalidated_get(obj)) return EINA_FALSE; + if (!part) { part = efl_ui_widget_default_text_part_get(obj); |