diff options
author | Peng Wu <alexepico@gmail.com> | 2023-01-31 09:55:23 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2023-01-31 09:55:23 +0800 |
commit | 7a7c547a312b00e8e28dde2b010e0db027637162 (patch) | |
tree | d1dd89986252024e41e2fcf25bb79ebd03db705b | |
parent | 95abb11ee598169fcc329c8055ea31fc57a047f7 (diff) | |
download | ibus-libpinyin-7a7c547a312b00e8e28dde2b010e0db027637162.tar.gz |
Fix PinyinEditor::processNumber method
-rw-r--r-- | src/PYPPinyinEditor.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PYPPinyinEditor.cc b/src/PYPPinyinEditor.cc index 0a116ea..65f00f8 100644 --- a/src/PYPPinyinEditor.cc +++ b/src/PYPPinyinEditor.cc @@ -60,6 +60,8 @@ PinyinEditor::processNumber (guint keyval, guint keycode, if (m_text.empty ()) return FALSE; + modifiers = cmshm_filter (modifiers); + switch (keyval) { case IBUS_0: case IBUS_KP_0: |