diff --git a/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java b/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
index efcf1ec..abf27c0 100644
|
a
|
b
|
implements SelectionChangedListener, MapView.EditLayerChangeListener, DataSetLis
|
| 528 | 528 | |
| 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 | } |
| 534 | 534 | |
| … |
… |
implements SelectionChangedListener, MapView.EditLayerChangeListener, DataSetLis
|
| 1122 | 1122 | |
| 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 | |
| 1130 | 1135 | @Override |