diff options
Diffstat (limited to 'src/ZYZPhoneticEditor.cc')
-rw-r--r-- | src/ZYZPhoneticEditor.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc index 0baa17c..0672706 100644 --- a/src/ZYZPhoneticEditor.cc +++ b/src/ZYZPhoneticEditor.cc @@ -153,12 +153,7 @@ PhoneticEditor::processSpace (guint keyval, guint keycode, return TRUE; } - if (m_config.spaceShowCandidates ()) { - /* use space to show candidates. */ - prepareCandidates (); - update (); - return TRUE; - } else { + if (!m_config.spaceShowCandidates ()) { return insert (keyval, keycode, modifiers); } } |