diff options
author | Peng Wu <alexepico@gmail.com> | 2018-03-27 13:57:36 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-03-27 13:57:36 +0800 |
commit | 5049c5b0ae837cd78314d54db4e22a223c03c6a2 (patch) | |
tree | 66065555103ac99079be810ee7ab8d88ccc808c2 | |
parent | d4ece7e7c48579d3cc6fe8376cd4474ec7d1db92 (diff) | |
download | ibus-libzhuyin-5049c5b0ae837cd78314d54db4e22a223c03c6a2.tar.gz ibus-libzhuyin-5049c5b0ae837cd78314d54db4e22a223c03c6a2.tar.xz ibus-libzhuyin-5049c5b0ae837cd78314d54db4e22a223c03c6a2.zip |
fixes user symbol
-rw-r--r-- | src/ZYZPhoneticEditor.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc index b4001f6..7bf3345 100644 --- a/src/ZYZPhoneticEditor.cc +++ b/src/ZYZPhoneticEditor.cc @@ -612,6 +612,7 @@ PhoneticEditor::selectCandidate (guint index) m_cursor += offset; m_input_state = STATE_INPUT; + updateZhuyin (); update (); return TRUE; } @@ -633,13 +634,14 @@ PhoneticEditor::selectCandidate (guint index) lookup = (gchar) ch; assert (BUILTIN_SYMBOL_TYPE == symbols->getType ()); - erase_input_sequence (m_text, m_cursor, 1); + /* erase_input_sequence (m_text, m_cursor, 1); */ insert_symbol (m_text, m_cursor, symbols->getType (), lookup, choice); m_cursor += offset; m_input_state = STATE_INPUT; + updateZhuyin (); update (); return TRUE; } |