Changeset 11303 in josm for trunk/src/org
- Timestamp:
- 2016-11-24T10:36:15+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/validator/ValidatorTreePanel.java
r11235 r11303 33 33 import org.openstreetmap.josm.data.osm.event.DataChangedEvent; 34 34 import org.openstreetmap.josm.data.osm.event.DataSetListener; 35 import org.openstreetmap.josm.data.osm.event.DatasetEventManager; 35 36 import org.openstreetmap.josm.data.osm.event.NodeMovedEvent; 36 37 import org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent; … … 105 106 } 106 107 } 107 DataSet ds = Main.getLayerManager().getEditDataSet(); 108 if (ds != null) { 109 ds.addDataSetListener(this); 110 } 108 DatasetEventManager.getInstance().addDatasetListener(this, DatasetEventManager.FireMode.IN_EDT); 111 109 } 112 110
Note:
See TracChangeset
for help on using the changeset viewer.