summaryrefslogtreecommitdiffstats
path: root/src/PYPPinyinEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYPPinyinEditor.cc')
-rw-r--r--src/PYPPinyinEditor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PYPPinyinEditor.cc b/src/PYPPinyinEditor.cc
index 2ab5151..e5933be 100644
--- a/src/PYPPinyinEditor.cc
+++ b/src/PYPPinyinEditor.cc
@@ -232,6 +232,8 @@ PinyinEditor::commit ()
}
pinyin_train (m_instance);
+ if (m_config.rememberEveryInput ())
+ LibPinyinBackEnd::instance ().rememberUserInput (m_instance);
LibPinyinBackEnd::instance ().modified ();
PhoneticEditor::commit ((const gchar *)m_buffer);
reset();