Changeset 4848 in josm
- Timestamp:
- 2012-01-22T16:23:31+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java
r4751 r4848 757 757 mapModeListener = new MapModeChangeListener() { 758 758 public void mapModeChange(MapMode oldMapMode, MapMode newMapMode) { 759 if (newMapMode instanceof org.openstreetmap.josm.actions.mapmode.SelectAction) {759 if (newMapMode == null || (newMapMode instanceof org.openstreetmap.josm.actions.mapmode.SelectAction)) { 760 760 Main.map.mapView.addMouseListener(mouseAdapter); 761 761 } else {
Note:
See TracChangeset
for help on using the changeset viewer.