- Timestamp:
- 2009-10-25T13:03:34+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/PasteAction.java
r2305 r2312 58 58 mPosition = Main.map.mapView.getCenter(); 59 59 } else { 60 mPosition = Main.map.mapView.getEastNorth(Main.map.mapView.lastMEvent.getX(), Main.map.mapView.lastMEvent.getY()); 60 if (Main.map.mapView.lastMEvent != null) { 61 mPosition = Main.map.mapView.getEastNorth(Main.map.mapView.lastMEvent.getX(), Main.map.mapView.lastMEvent.getY()); 62 } else { 63 mPosition = Main.map.mapView.getCenter(); 64 } 61 65 } 62 66
Note:
See TracChangeset
for help on using the changeset viewer.