Changeset 3252 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
- Timestamp:
- 15.05.2010 18:59:10 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r3219 r3252 610 610 btnAdd.getActionMap().put("onEnter", addAction); 611 611 612 Shortcut sc = Shortcut.registerShortcut("properties:add", tr("Add Properties"), KeyEvent.VK_B, 613 Shortcut.GROUP_MNEMONIC); 614 Main.contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(sc.getKeyStroke(), "properties:add"); 615 Main.contentPane.getActionMap().put("properties:add", addAction); 612 Main.registerActionShortcut(addAction, Shortcut.registerShortcut("properties:add", tr("Add Properties"), KeyEvent.VK_B, 613 Shortcut.GROUP_MNEMONIC)); 616 614 617 615 // -- edit action
Note: See TracChangeset
for help on using the changeset viewer.
