Changeset 32512 in osm for applications
- Timestamp:
- 2016-07-02T00:06:41+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/undelete
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/undelete/build.xml
r31923 r32512 4 4 <property name="commit.message" value="adapt to core changes (backwards compatible)"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 7001"/>6 <property name="plugin.main.version" value="10279"/> 7 7 8 8 <property name="plugin.author" value="Nakor"/> -
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.