summaryrefslogtreecommitdiff
path: root/enigma-swing
diff options
context:
space:
mode:
authorGravatar Matei M2023-06-27 00:04:25 +0300
committerGravatar GitHub2023-06-26 22:04:25 +0100
commit177d79d3f079c6adb17e39633b287065da3a1e73 (patch)
treebb6486e59be7ed723e713bc9064bd4d00759abbf /enigma-swing
parentFix double clicking an entry in the "implementations" window not navigating t... (diff)
downloadenigma-177d79d3f079c6adb17e39633b287065da3a1e73.tar.gz
enigma-177d79d3f079c6adb17e39633b287065da3a1e73.tar.xz
enigma-177d79d3f079c6adb17e39633b287065da3a1e73.zip
Allow using ctrl-shift-4 to close all open tabs (#518)
Diffstat (limited to 'enigma-swing')
-rw-r--r--enigma-swing/src/main/java/cuchaz/enigma/gui/elements/EditorTabPopupMenu.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/enigma-swing/src/main/java/cuchaz/enigma/gui/elements/EditorTabPopupMenu.java b/enigma-swing/src/main/java/cuchaz/enigma/gui/elements/EditorTabPopupMenu.java
index 93854818..e2752736 100644
--- a/enigma-swing/src/main/java/cuchaz/enigma/gui/elements/EditorTabPopupMenu.java
+++ b/enigma-swing/src/main/java/cuchaz/enigma/gui/elements/EditorTabPopupMenu.java
@@ -30,6 +30,7 @@ public class EditorTabPopupMenu {
30 30
31 this.closeAll = new JMenuItem(); 31 this.closeAll = new JMenuItem();
32 this.closeAll.addActionListener(a -> pane.closeAllEditorTabs()); 32 this.closeAll.addActionListener(a -> pane.closeAllEditorTabs());
33 this.closeAll.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_4, KeyEvent.CTRL_DOWN_MASK + KeyEvent.SHIFT_DOWN_MASK));
33 this.ui.add(this.closeAll); 34 this.ui.add(this.closeAll);
34 35
35 this.closeOthers = new JMenuItem(); 36 this.closeOthers = new JMenuItem();