From: Jihoon Kim Date: Tue, 29 Nov 2016 06:07:39 +0000 (+0900) Subject: Skip to hide candiate in case of no candidate X-Git-Tag: accepted/tizen/3.0/common/20161130.065044~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F100738%2F1;p=platform%2Fcore%2Fuifw%2Fise-default.git Skip to hide candiate in case of no candidate Change-Id: Ia28b662a6837b9b7804b96b24a2f15867d10f426 --- diff --git a/src/ise.cpp b/src/ise.cpp index bb48da5..f4bb828 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -611,6 +611,12 @@ void CCoreEventCallback::on_candidate_show(sclint ic, const sclchar *ic_uuid) void CCoreEventCallback::on_candidate_hide(sclint ic, const sclchar *ic_uuid) { LOGD("Enter\n"); + + if (!g_candidate || !g_softcandidate_show) { + LOGD("No candidate\n"); + return; + } + add_softcandidate_hide_timer(); if (g_ui) { g_ui->set_custom_starting_coordinates(0, 0);