From b69b2d6f662f9baa34905b6cdb913f46546b15b7 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 4 Jan 2021 19:12:39 +0900 Subject: [PATCH] Clear smartreply when displaying normal candidate words Change-Id: Ie160659ac5b315f31e5d815db08653884fc087e5 Signed-off-by: Jihoon Kim --- src/ise.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ise.cpp b/src/ise.cpp index 91d27e9..eb4160c 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -274,6 +274,10 @@ static void update_candidate_table() g_softcandidate_string.clear(); vector::iterator iter; + g_smartreply_strings.clear(); + input_smartreply_deinit(); + g_ic_smartreply = -1; + // add autofill string if (g_autofill_exist) g_softcandidate_string.push_back(g_autofill_string); -- 2.7.4