Changeset 34087 in osm for applications


Ignore:
Timestamp:
2018-03-13T01:13:29+01:00 (7 years ago)
Author:
donvip
Message:

fix deprecation warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/ChosenRelation.java

    r33530 r34087  
    126126        OsmDataLayer newLayer = MainApplication.getLayerManager().getEditLayer();
    127127        clear();
    128         if (newLayer != null && e.getPreviousEditLayer() == null) {
     128        if (newLayer != null && e.getPreviousDataLayer() == null) {
    129129            MainApplication.getMap().mapView.addTemporaryLayer(this);
    130130        } else if (newLayer == null) {
Note: See TracChangeset for help on using the changeset viewer.