* support DELETE button on OSX (which is actually BACK_SPACE)
This commit is contained in:
parent
ee6ff94c85
commit
a8bec2fb09
|
@ -49,6 +49,7 @@ public class FileBotList<E> extends JComponent {
|
|||
removeAction.setEnabled(false);
|
||||
|
||||
TunedUtilities.installAction(this, KeyStroke.getKeyStroke("pressed DELETE"), removeAction);
|
||||
TunedUtilities.installAction(this, KeyStroke.getKeyStroke("pressed BACK_SPACE"), removeAction);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ class FileTreePanel extends JComponent {
|
|||
|
||||
// Shortcut DELETE
|
||||
TunedUtilities.installAction(fileTree, KeyStroke.getKeyStroke("DELETE"), removeAction);
|
||||
TunedUtilities.installAction(fileTree, KeyStroke.getKeyStroke("BACK_SPACE"), removeAction);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@ public class SfvPanel extends JComponent {
|
|||
|
||||
// Shortcut DELETE
|
||||
TunedUtilities.installAction(this, KeyStroke.getKeyStroke("DELETE"), removeAction);
|
||||
TunedUtilities.installAction(this, KeyStroke.getKeyStroke("BACK_SPACE"), removeAction);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue