Changeset 3680 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-11-29T08:42:27+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r3666 r3680 149 149 //-- delete layer action 150 150 DeleteLayerAction deleteLayerAction = new DeleteLayerAction(); 151 layerList.getInputMap(JComponent.WHEN_FOCUSED).put(152 KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0),"deleteLayer"153 );154 151 layerList.getActionMap().put("deleteLayer", deleteLayerAction); 155 152 adaptTo(deleteLayerAction, selectionModel);
Note:
See TracChangeset
for help on using the changeset viewer.