Skip to content

Commit 2f0c895

Browse files
committed
removed deprecated call from sdk updater code
1 parent 56a26d6 commit 2f0c895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/tools/SDKUpdater/src/processing/mode/android/tools/SDKUpdater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ static public void registerWindowCloseKeys(JRootPane root,
556556
root.registerKeyboardAction(disposer, stroke,
557557
JComponent.WHEN_IN_FOCUSED_WINDOW);
558558

559-
int modifiers = java.awt.Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
559+
int modifiers = java.awt.Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx();
560560
stroke = KeyStroke.getKeyStroke('W', modifiers);
561561
root.registerKeyboardAction(disposer, stroke,
562562
JComponent.WHEN_IN_FOCUSED_WINDOW);

0 commit comments

Comments
 (0)