summaryrefslogtreecommitdiffstats
path: root/src/ZYZPhoneticEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-08-07 14:23:54 +0800
committerPeng Wu <alexepico@gmail.com>2015-08-07 14:41:51 +0800
commit13bc6023c48809b242945c89ff63a27545e3912f (patch)
treee577d1db855976b394668c84fc5924a4aa0a22ed /src/ZYZPhoneticEditor.cc
parent828fa4586307d0886b714aad01ae99512ed9dcdf (diff)
downloadibus-libzhuyin-13bc6023c48809b242945c89ff63a27545e3912f.tar.gz
ibus-libzhuyin-13bc6023c48809b242945c89ff63a27545e3912f.tar.xz
ibus-libzhuyin-13bc6023c48809b242945c89ff63a27545e3912f.zip
fixes processSpace method
Diffstat (limited to 'src/ZYZPhoneticEditor.cc')
-rw-r--r--src/ZYZPhoneticEditor.cc7
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);
}
}