Changeset 5278 in josm
- Timestamp:
- 2012-06-11T00:17:12+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r5262 r5278 422 422 } 423 423 424 public static void registerActionShortcut(JosmAction action) { 425 registerActionShortcut(action, action.getShortcut()); 426 } 427 424 428 public static void registerActionShortcut(Action action, Shortcut shortcut) { 425 429 KeyStroke keyStroke = shortcut.getKeyStroke(); -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r5271 r5278 211 211 SelectionEventManager.getInstance().addSelectionListener(this, FireMode.IN_EDT_CONSOLIDATED); 212 212 MapView.addEditLayerChangeListener(this); 213 Main.registerActionShortcut(addAction); 214 Main.registerActionShortcut(editAction); 215 Main.registerActionShortcut(deleteAction); 213 216 updateSelection(); 214 217 }
Note:
See TracChangeset
for help on using the changeset viewer.