summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEngine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYPBopomofoEngine.cc')
-rw-r--r--src/PYPBopomofoEngine.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PYPBopomofoEngine.cc b/src/PYPBopomofoEngine.cc
index 840c51a..d13bde6 100644
--- a/src/PYPBopomofoEngine.cc
+++ b/src/PYPBopomofoEngine.cc
@@ -91,6 +91,8 @@ BopomofoEngine::processAccelKeyEvent (guint keyval, guint keycode,
if (triggered) {
if (!m_editors[MODE_INIT]->text ().empty ())
m_editors[MODE_INIT]->reset ();
+ if (!m_editors[MODE_SUGGESTION]->text ().empty ())
+ m_editors[MODE_SUGGESTION]->reset ();
m_props.toggleModeChinese ();
return FALSE;
}