Ignore:
Timestamp:
2019-07-06T19:08:42+02:00 (5 years ago)
Author:
donvip
Message:

fix #josm17859 - NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java

    r33837 r35045  
    1212import org.openstreetmap.josm.data.coor.EastNorth;
    1313import org.openstreetmap.josm.gui.MapView;
     14import org.openstreetmap.josm.gui.layer.MainLayerManager;
    1415
    1516/**
     
    3940    FakeMapView(MapView parent, double scale) {
    4041        // TODO: MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view
    41         super(null, null);
     42        super(new MainLayerManager(), null);
    4243        this.parent = parent;
    4344        this.scale = scale;
Note: See TracChangeset for help on using the changeset viewer.