Ignore:
Timestamp:
2016-07-01T09:53:03+02:00 (8 years ago)
Author:
donvip
Message:

remove calls to deprecated methods

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

Legend:

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

    r31926 r32492  
    55    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="10353"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerAction.java

    r30860 r32492  
    279279            if (!commands.isEmpty()) {
    280280                Main.main.undoRedo.add(new SequenceCommand(tr("Lakewalker trace"), commands));
    281                 Main.main.getCurrentDataSet().setSelected(ways);
     281                getLayerManager().getEditDataSet().setSelected(ways);
    282282            } else {
    283283                System.out.println("Failed");
Note: See TracChangeset for help on using the changeset viewer.