-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index 08318bd..84c0c74 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp @@ -366,3 +366,3 @@ void Keyboard::mousePressEvent(QMouseEvent *e) - //if (unicode == 0x60) { // the keys from 2c6 ~ 2cf should be used instead of the ascii one + // the keys from 2c6 ~ 2cf should be used instead of the ascii one if (unicode == 0x2cb) { @@ -384,3 +384,2 @@ void Keyboard::mousePressEvent(QMouseEvent *e) - //if (unicode == 0xb4) { if (unicode == 0x2ca) { @@ -777,2 +776,9 @@ void Keyboard::mouseReleaseEvent(QMouseEvent*) } + if (alt && alt != 0) { + + *alt = 0; + alt = 0; + repaint(FALSE); + + } |