Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a3f59fa

Browse files
feiknamecmaglie
authored andcommitted
Display the keyboard shortcut tip on both "Manage Libraries..."
This commit adds the Menu+Shift+I shortcut to the remaining menu entry in Base.java. When the shortcut is called, the menu entry from Base.java is the one that will be called.
1 parent f8621b0 commit a3f59fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎app/src/processing/app/Base.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,10 @@ public void rebuildImportMenu(JMenu importMenu) {
10751075
importMenu.removeAll();
10761076

10771077
JMenuItem menu = new JMenuItem(tr("Manage Libraries..."));
1078+
// Ctrl+Shift+I on Windows and Linux, Command+Shift+I on macOS
1079+
menu.setAccelerator(KeyStroke.getKeyStroke('I',
1080+
Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() |
1081+
ActionEvent.SHIFT_MASK));
10781082
menu.addActionListener(e -> openLibraryManager("", ""));
10791083
importMenu.add(menu);
10801084
importMenu.addSeparator();

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /