summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-27 16:03:50 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-27 16:03:50 -0500
commit649433560b5b6c81e2136d0e2d036042f035b00c (patch)
treea64415ab8d7a5abc9d8a84a8384f5192d5c6c71a
parent4628021fe547214b81238a0b1d410240174313ff (diff)
efl_ui_layout: check part existence in text_set
Summary: fix T6931 Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T6931 Differential Revision: https://phab.enlightenment.org/D7888
-rw-r--r--src/lib/elementary/efl_ui_layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 54e6334e31..37f2b6fbb8 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2741,6 +2741,7 @@ elm_layout_text_set(Eo *obj, const char *part, const char *text)
2741 else if (!_elm_layout_part_aliasing_eval(obj, &part, EINA_TRUE)) 2741 else if (!_elm_layout_part_aliasing_eval(obj, &part, EINA_TRUE))
2742 return EINA_FALSE; 2742 return EINA_FALSE;
2743 2743
2744 if (!efl_layout_group_part_exist_get(obj, part)) return EINA_FALSE;
2744 efl_text_set(efl_part(obj, part), text); 2745 efl_text_set(efl_part(obj, part), text);
2745 return EINA_TRUE; 2746 return EINA_TRUE;
2746} 2747}