Changeset 35980 in osm for applications/editors/josm/plugins
- Timestamp:
- 2022-06-16T14:48:53+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java
r35976 r35980 142 142 this.changesetId = changesetId; 143 143 OsmDataLayer editLayer = MainApplication.getLayerManager().getEditLayer(); 144 newLayer = newLayer || editLayer == null; 144 145 if (newLayer) { 145 146 this.ds = new DataSet(); 146 147 this.layer = new OsmDataLayer(this.ds, tr("Reverted changeset") + tr(" [id: {0}]", String.valueOf(changesetId)), null); 147 this.ods = ods;148 148 } else { 149 149 this.layer = editLayer; 150 150 this.ds = editLayer.data; 151 this.ods = ods;152 }151 } 152 this.ods = ods; 153 153 this.revertType = revertType; 154 154 if ((revertType == RevertType.SELECTION || revertType == RevertType.SELECTION_WITH_UNDELETE)
Note:
See TracChangeset
for help on using the changeset viewer.