IDEA-131773 Fix mac shortcuts handling on Ubuntu

This commit is contained in:
Sergey Malenkov
2014-11-17 21:38:30 +03:00
parent 94728b736c
commit 939f5702ba
@@ -515,11 +515,7 @@ public class UIUtil {
char c = e.getKeyChar();
if (c < 0x20 || c == 0x7F) return false;
if (SystemInfo.isMac) {
return !e.isMetaDown() && !e.isControlDown();
}
return !e.isAltDown() && !e.isControlDown();
return !e.isMetaDown() && !e.isAltDown() && !e.isControlDown();
}
public static int getStringY(@NotNull final String string, @NotNull final Rectangle bounds, @NotNull final Graphics2D g) {