From d23da1c0f3e3bffa0adbc0cf79299425d0522601 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Fri, 22 Jul 2016 14:15:38 +0900 Subject: [PATCH] fix the issue that not showed left cue button Change-Id: I9e8ee6b7961bd294d2f681aa26d0bc2faff1f88f Signed-off-by: sungwook79.park --- src/w-input-stt-voice.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 1b90386..23160a8 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -194,7 +194,7 @@ static inline Evas_Coord get_text_block_size(Evas_Object *obj, std::string text) if(strbuf) free(strbuf); if(tb) evas_object_del(tb); if(st) evas_textblock_style_free(st); - if(cur) evas_textblock_cursor_free(cur); +// if(cur) evas_textblock_cursor_free(cur); return height; } @@ -1819,6 +1819,12 @@ int init_voice(Evas_Object *parent, const char *lang, VoiceData *r_voicedata) return FALSE; } + if (NULL != voicedata->textblock_timer) { + PRINTFUNC(DLOG_DEBUG, "delete previous textblock"); + ecore_timer_del(voicedata->textblock_timer); + voicedata->textblock_timer = NULL; + } + return TRUE; } -- 2.7.4