Clear smartreply when displaying normal candidate words 67/250767/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Jan 2021 10:12:39 +0000 (19:12 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Jan 2021 10:27:12 +0000 (19:27 +0900)
Change-Id: Ie160659ac5b315f31e5d815db08653884fc087e5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise.cpp

index 91d27e9..eb4160c 100644 (file)
@@ -274,6 +274,10 @@ static void update_candidate_table()
     g_softcandidate_string.clear();
     vector<string>::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);