From a99f3374135fb3728fecdaed611ede511b15b8e1 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Mon, 11 Jun 2018 16:19:38 +0300 Subject: [PATCH] edje: fix an issue "description.text.text" is not shown Summary: "description.text.text" is not shown after applying a patch for supporting text translation of Textblock part. @fix T6997 Test Plan: - Try to show a TEXTBLOCK part which has built-in text. ex) textblock { scale; desc { "default"; text { style: "my_style"; text: "You can't see this text without this patch"; } } } Reviewers: Hermet, subodh6129, herdsman Subscribers: cedric, #committers, zmike Tags: #efl Maniphest Tasks: T6997 Differential Revision: https://phab.enlightenment.org/D6257 --- src/lib/edje/edje_textblock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/edje/edje_textblock.c b/src/lib/edje/edje_textblock.c index 9b9f17cc25..312238735c 100644 --- a/src/lib/edje/edje_textblock.c +++ b/src/lib/edje/edje_textblock.c @@ -438,6 +438,7 @@ _edje_part_recalc_single_textblock(FLOAT_T sc, else { ep->typedata.text->text_source = NULL; + text = NULL; if (chosen_desc->text.domain) { if (!chosen_desc->text.text.translated)