Changeset 3227 in josm
- Timestamp:
- May 9, 2010 4:34:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JosmAction.java
r2871 r3227 72 72 sc = shortcut; 73 73 if (sc != null) { 74 Main.contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(sc.getKeyStroke(), name);75 Main.contentPane.getActionMap().put( name, this);74 Main.contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(sc.getKeyStroke(), this); 75 Main.contentPane.getActionMap().put(this, this); 76 76 } 77 77 putValue(SHORT_DESCRIPTION, Main.platform.makeTooltip(tooltip, sc));
Note: See TracChangeset
for help on using the changeset viewer.
