Changeset 15644 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-01-05T23:29:48+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/HelpAction.java
r15581 r15644 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.awt.event.KeyEvent;8 7 import java.io.IOException; 9 8 import java.util.ArrayList; … … 43 42 44 43 /** 45 * Returns the keystroke launching this action (F1 ).44 * Returns the keystroke launching this action (F1 by default). 46 45 * @return the keystroke launching this action 47 46 */ 48 47 public static KeyStroke getKeyStroke() { 49 return KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0);48 return MainApplication.getMenu().help.getShortcut().getKeyStroke(); 50 49 } 51 50
Note:
See TracChangeset
for help on using the changeset viewer.