summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEngine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYPBopomofoEngine.cc')
-rw-r--r--src/PYPBopomofoEngine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PYPBopomofoEngine.cc b/src/PYPBopomofoEngine.cc
index eb689cc..6719b92 100644
--- a/src/PYPBopomofoEngine.cc
+++ b/src/PYPBopomofoEngine.cc
@@ -183,6 +183,9 @@ BopomofoEngine::processKeyEvent (guint keyval, guint keycode, guint modifiers)
m_input_mode = MODE_INIT;
}
+ /* needed for SuggestionEditor */
+ m_editors[m_input_mode]->update ();
+
if (G_UNLIKELY (!retval))
retval = m_fallback_editor->processKeyEvent (keyval, keycode, modifiers);