diff options
author | Peng Wu <alexepico@gmail.com> | 2011-10-10 17:30:39 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-22 12:23:14 +0800 |
commit | 84ba51d4a668b8b6d7f93f2c142b9def4c1fba09 (patch) | |
tree | e4d34ca289283dfc3497f5b7bb7b3384ac1d642a /src/PYPPhoneticEditor.cc | |
parent | f93acc44b3cc2c14ed739c9a70ca2538dd970789 (diff) | |
download | ibus-libpinyin-84ba51d4a668b8b6d7f93f2c142b9def4c1fba09.tar.gz ibus-libpinyin-84ba51d4a668b8b6d7f93f2c142b9def4c1fba09.tar.xz ibus-libpinyin-84ba51d4a668b8b6d7f93f2c142b9def4c1fba09.zip |
fixes space handle
Diffstat (limited to 'src/PYPPhoneticEditor.cc')
-rw-r--r-- | src/PYPPhoneticEditor.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc index c50b265..dc494d5 100644 --- a/src/PYPPhoneticEditor.cc +++ b/src/PYPPhoneticEditor.cc @@ -43,11 +43,8 @@ LibPinyinPhoneticEditor::processSpace (guint keyval, guint keycode, return FALSE; if (cmshm_filter (modifiers) != 0) return TRUE; - if (m_lookup_table.size () != 0) { - selectCandidate (m_lookup_table.cursorPos ()); - } else { - commit (); - } + + commit (); return TRUE; } |