Windows: Do not try to update keymap on WM_IME_CHAR messages
Task-number: QTBUG-35806 Change-Id: Ie1082353155aa7ee61f49f2fbcbfdb01d57e797c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>bb10
parent
5dee237022
commit
0c09d2ccb9
|
|
@ -743,10 +743,10 @@ bool QWindowsKeyMapper::translateKeyEvent(QWindow *widget, HWND hwnd,
|
|||
return true;
|
||||
}
|
||||
|
||||
// WM_CHAR messages already contain the character in question so there is
|
||||
// WM_(IME_)CHAR messages already contain the character in question so there is
|
||||
// no need to fiddle with our key map. In any other case add this key to the
|
||||
// keymap if it is not present yet.
|
||||
if (msg.message != WM_CHAR)
|
||||
if (msg.message != WM_CHAR && msg.message != WM_IME_CHAR)
|
||||
updateKeyMap(msg);
|
||||
|
||||
MSG peekedMsg;
|
||||
|
|
|
|||
Loading…
Reference in New Issue