diff options
author | Peng Wu <alexepico@gmail.com> | 2018-06-14 15:08:03 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-06-14 15:08:03 +0800 |
commit | e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2 (patch) | |
tree | ec7ae22e1fef519e27aca7ee39bbdb842d6a163d /src | |
parent | 44abb976b536a604916f0cc1738c49c4babf129d (diff) | |
download | ibus-libpinyin-e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2.tar.gz ibus-libpinyin-e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2.tar.xz ibus-libpinyin-e25fc8e6e7dcc3f05cb1c530077fd911d26d7cf2.zip |
use lua converter
Diffstat (limited to 'src')
-rw-r--r-- | src/PYPPhoneticEditor.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/PYPPhoneticEditor.cc b/src/PYPPhoneticEditor.cc index c7ff55d..d47928a 100644 --- a/src/PYPPhoneticEditor.cc +++ b/src/PYPPhoneticEditor.cc @@ -219,8 +219,12 @@ PhoneticEditor::updateCandidates (void) m_lua_trigger_candidates.processCandidates (m_candidates); - if (NULL != m_config.luaConverter ()) + const char * converter = m_config.luaConverter (); + + if (NULL != converter) { + m_lua_converter_candidates.setConverter (converter); m_lua_converter_candidates.processCandidates (m_candidates); + } return TRUE; } |