Changeset 9525 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-01-18T13:19:52+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r9171 r9525 529 529 // F1 button = custom help action 530 530 getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put( 531 KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0), "onHelp");531 helpAction.getKeyStroke(), "onHelp"); 532 532 getActionMap().put("onHelp", helpAction); 533 533 } … … 1123 1123 class HelpAction extends AbstractAction { 1124 1124 HelpAction() { 1125 putValue(NAME, tr("Go to OSM wiki for tag help (F1)"));1125 putValue(NAME, tr("Go to OSM wiki for tag help")); 1126 1126 putValue(SHORT_DESCRIPTION, tr("Launch browser with wiki help for selected object")); 1127 1127 putValue(SMALL_ICON, ImageProvider.get("dialogs", "search")); 1128 putValue(ACCELERATOR_KEY, getKeyStroke()); 1129 } 1130 1131 public KeyStroke getKeyStroke() { 1132 return KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0); 1128 1133 } 1129 1134
Note:
See TracChangeset
for help on using the changeset viewer.