Changeset 26073 in osm for applications


Ignore:
Timestamp:
2011-05-29T20:17:58+02:00 (14 years ago)
Author:
bastik
Message:

'adapt to core changes (backwards compatible)'

Location:
applications/editors/josm/plugins/undelete
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/undelete/build.xml

    r25199 r26073  
    3131
    3232        <!-- enter the SVN commit message -->
    33         <property name="commit.message" value="add rudimentary support for undeleting relations" />
     33        <property name="commit.message" value="adapt to core changes (backwards compatible)" />
    3434        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    3535        <property name="plugin.main.version" value="3835" />
  • applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java

    r24905 r26073  
    119119        Main.pref.putInteger("undelete.lasttype", cbType.getSelectedIndex());
    120120        Main.pref.put("undelete.newlayer", layer.isSelected());
    121         Main.pref.putInteger("undelete.osmid", tfId.getOsmId());
     121        Main.pref.put("undelete.osmid", Long.toString(tfId.getOsmId()));
    122122        List<Long> ids=new ArrayList<Long>();
    123123        ids.add((long)tfId.getOsmId());
Note: See TracChangeset for help on using the changeset viewer.