Ignore:
Timestamp:
2009-08-08T15:59:57+02:00 (17 years ago)
Author:
Gubaer
Message:

fixed #3203: pressing DEL deletes Layer instead of objects
Enabled DEL in layer list again, should not interfere with DEL on map view anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java

    r1865 r1935  
    102102        if(!Main.map.mapView.isActiveLayerVisible())
    103103            return;
     104
     105        // request focus in order to enable the expected keyboard shortcuts
     106        //
     107        Main.map.mapView.requestFocus();
     108
    104109        boolean ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0;
    105110        boolean shift = (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0;
Note: See TracChangeset for help on using the changeset viewer.