Changeset 12240 in josm
- Timestamp:
- 2017-05-23T17:31:05+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r11986 r12240 279 279 Collection<OsmPrimitive> primitivesToUpdate = searchPrimitivesToUpdate(bounds, layer.data); 280 280 layer.mergeFrom(dataSet); 281 if (Main.map != null && zoomAfterDownload ) {281 if (Main.map != null && zoomAfterDownload && bounds != null) { 282 282 Main.map.mapView.zoomTo(new ViewportData(computeBbox(bounds))); 283 283 }
Note:
See TracChangeset
for help on using the changeset viewer.