cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e05b8ae9caffb03144bb458a3c634c59c5c49e09

commit e05b8ae9caffb03144bb458a3c634c59c5c49e09
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Thu Mar 14 14:16:50 2019 -0700

    elementary: only apply text when the object is not invalidated and dying.
    
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D8359
---
 src/lib/elementary/efl_ui_layout.c | 3 +++
 1 file changed, 3 insertions(+)

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);

-- 


Reply via email to