Fix delete tab shortcut

This commit is contained in:
Jakub Valtar
2015-08-05 18:50:12 -04:00
parent b55a8ed5cb
commit 2499b97c2e

View File

@@ -518,7 +518,7 @@ public class EditorHeader extends JComponent {
}
};
mapKey = "editor.header.delete";
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_D, Toolkit.SHORTCUT_ALT_KEY_MASK);
keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_D, Toolkit.SHORTCUT_SHIFT_KEY_MASK);
inputMap.put(keyStroke, mapKey);
actionMap.put(mapKey, action);
item.addActionListener(action);