From f83f48f0eed80b6968fb77fa9f6f96190449fd13 Mon Sep 17 00:00:00 2001 From: GoldenGnu Date: Wed, 2 Mar 2022 16:44:00 +0100 Subject: [PATCH] Feature Fix: Added Mac keyboard shortcut to reopen closed tools (issue #298) --- src/main/java/net/nikr/eve/jeveasset/gui/frame/MainWindow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/nikr/eve/jeveasset/gui/frame/MainWindow.java b/src/main/java/net/nikr/eve/jeveasset/gui/frame/MainWindow.java index 78ab697c2f..20c5cc7ad3 100644 --- a/src/main/java/net/nikr/eve/jeveasset/gui/frame/MainWindow.java +++ b/src/main/java/net/nikr/eve/jeveasset/gui/frame/MainWindow.java @@ -88,6 +88,7 @@ public MainWindow(final Program program) { JPanel jPanel = new JPanel(); jPanel.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_T, InputEvent.CTRL_DOWN_MASK + InputEvent.SHIFT_DOWN_MASK), "reOpenTab"); + jPanel.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_T, InputEvent.META_DOWN_MASK + InputEvent.SHIFT_DOWN_MASK), "reOpenTab"); jPanel.getActionMap().put("reOpenTab", new AbstractAction() { @Override public void actionPerformed(ActionEvent e) {