Ignore:
Timestamp:
2018-03-25T03:40:41+02:00 (7 years ago)
Author:
donvip
Message:

update to JOSM 13558/13559

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachartedit/src/scedit/SCeditAction.java

    r33920 r34098  
    168168    @Override
    169169    public void activeOrEditLayerChanged(ActiveLayerChangeEvent e) {
    170         if (e.getPreviousEditLayer() != null) {
    171             e.getPreviousEditLayer().data.removeDataSetListener(dataSetListener);
     170        if (e.getPreviousDataLayer() != null) {
     171            e.getPreviousDataLayer().getDataSet().removeDataSetListener(dataSetListener);
    172172        }
    173173        OsmDataLayer newLayer = getLayerManager().getEditLayer();
    174174        if (newLayer != null) {
    175             newLayer.data.addDataSetListener(dataSetListener);
    176             data = newLayer.data;
     175            newLayer.getDataSet().addDataSetListener(dataSetListener);
     176            data = newLayer.getDataSet();
    177177            makeMap();
    178178        } else {
Note: See TracChangeset for help on using the changeset viewer.