Fix keyboard shortcuts for special processing of CTRL and META
The processing of CTRL and META was in change I8e7d552b3927047b31ced373eafac3436a70b277 unnecessarily removed. As a result of this shortcuts like 'STRG+T were' interpreted as 'T'. Bug: issue 3970 Change-Id: If782ca367a9c7f34db3b53fd1f2974f7a9127dfc
This commit is contained in:
parent
b58f38ffc4
commit
96c26821ba
|
@ -136,6 +136,12 @@ public class KeyCommandSet implements KeyPressHandler {
|
|||
if (mask == 0) {
|
||||
mask = event.getNativeEvent().getKeyCode();
|
||||
}
|
||||
if (event.isControlKeyDown()) {
|
||||
mask |= KeyCommand.M_CTRL;
|
||||
}
|
||||
if (event.isMetaKeyDown()) {
|
||||
mask |= KeyCommand.M_META;
|
||||
}
|
||||
return mask;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue