Ignore:
Timestamp:
2018-04-21T02:42:26+02:00 (13 months ago)
Author:
Don-vip
Message:

More uses of OsmDataLayer.getDataSet()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserModel.java

    r13434 r13654  
    619619        if (oldLayer instanceof OsmDataLayer) {
    620620            OsmDataLayer l = (OsmDataLayer) oldLayer;
    621             l.data.removeDataSetListener(this);
     621            l.getDataSet().removeDataSetListener(this);
    622622        }
    623623        Layer newLayer = e.getSource().getActiveLayer();
     
    628628        }
    629629        OsmDataLayer l = (OsmDataLayer) newLayer;
    630         l.data.addDataSetListener(this);
     630        l.getDataSet().addDataSetListener(this);
    631631        OsmPrimitive primitive = history != null ? l.data.getPrimitiveById(history.getId(), history.getType()) : null;
    632632        HistoryOsmPrimitive newLatest;
Note: See TracChangeset for help on using the changeset viewer.