Changeset 32512 in osm for applications/editors/josm/plugins/undelete/src
- Timestamp:
- 2016-07-02T00:06:41+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java
r30737 r32512 62 62 Main.info("Undeleting "+ids+(parent==null?"":" with parent "+parent)); 63 63 64 OsmDataLayer tmpLayer = Main. main.getEditLayer();64 OsmDataLayer tmpLayer = Main.getLayerManager().getEditLayer(); 65 65 if ((tmpLayer == null) || newLayer) { 66 66 tmpLayer = new OsmDataLayer(new DataSet(), OsmDataLayer.createNewName(), null); 67 Main. main.addLayer(tmpLayer);67 Main.getLayerManager().addLayer(tmpLayer); 68 68 } 69 69
Note:
See TracChangeset
for help on using the changeset viewer.