diff options
| author | Peng Wu <alexepico@gmail.com> | 2018-10-15 16:33:36 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2018-10-15 16:33:36 +0800 |
| commit | 4d768fd5f8cb47eca8ad03f45bde9b4acba7da4c (patch) | |
| tree | 3921c3f181316f9d5c833d44b29b113bed263932 /src/ZYZPinyinEditor.cc | |
| parent | 8149d9d308c4af3e4ec2b3598e58a5859f7156e5 (diff) | |
| download | ibus-libzhuyin-4d768fd5f8cb47eca8ad03f45bde9b4acba7da4c.tar.gz ibus-libzhuyin-4d768fd5f8cb47eca8ad03f45bde9b4acba7da4c.tar.xz ibus-libzhuyin-4d768fd5f8cb47eca8ad03f45bde9b4acba7da4c.zip | |
fixes processSpace method
Diffstat (limited to 'src/ZYZPinyinEditor.cc')
| -rw-r--r-- | src/ZYZPinyinEditor.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ZYZPinyinEditor.cc b/src/ZYZPinyinEditor.cc index 05e1c92..591518e 100644 --- a/src/ZYZPinyinEditor.cc +++ b/src/ZYZPinyinEditor.cc @@ -228,7 +228,9 @@ PinyinEditor::processSpace (guint keyval, guint keycode, guint modifiers) if (cmshm_filter (modifiers) != 0) return FALSE; - if (m_config.spaceShowCandidates ()) { + if (!m_config.spaceShowCandidates ()) { + return insert (keyval, keycode, modifiers); + } else { /* use space to show candidates. */ prepareCandidates (); update (); |
