summaryrefslogtreecommitdiffstats
path: root/src/PYPBopomofoEditor.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-12-18 11:29:36 +0800
committerPeng Wu <alexepico@gmail.com>2014-12-18 11:29:36 +0800
commitde6b1f956fec426ba45f3ec371e5ce802070fd67 (patch)
tree979085d685f7ecefe87df4bef916f47815f05e47 /src/PYPBopomofoEditor.cc
parentb33cb8b01df86ed635b372f9c171996b0432fa2e (diff)
downloadibus-libpinyin-de6b1f956fec426ba45f3ec371e5ce802070fd67.tar.gz
ibus-libpinyin-de6b1f956fec426ba45f3ec371e5ce802070fd67.tar.xz
ibus-libpinyin-de6b1f956fec426ba45f3ec371e5ce802070fd67.zip
write rememberUserInput method
Diffstat (limited to 'src/PYPBopomofoEditor.cc')
-rw-r--r--src/PYPBopomofoEditor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PYPBopomofoEditor.cc b/src/PYPBopomofoEditor.cc
index e0788a7..43a0203 100644
--- a/src/PYPBopomofoEditor.cc
+++ b/src/PYPBopomofoEditor.cc
@@ -287,6 +287,8 @@ BopomofoEditor::commit ()
}
pinyin_train(m_instance);
+ if (m_config.rememberEveryInput ())
+ LibPinyinBackEnd::instance ().rememberUserInput (m_instance);
LibPinyinBackEnd::instance ().modified();
PhoneticEditor::commit ((const gchar *)m_buffer);
reset();