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
This commit is contained in:
Cedric BAIL 2019-03-14 14:16:50 -07:00
parent 791ca77a68
commit e05b8ae9ca
1 changed files with 3 additions and 0 deletions

View File

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