Changeset 33615 in osm


Ignore:
Timestamp:
2017-09-16T13:10:18+02:00 (8 years ago)
Author:
mkyral
Message:

PointInfo: Replace depricated AddCommand function.

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

Legend:

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

    r33549 r33615  
    33
    44    <!-- enter the SVN commit message -->
    5     <property name="commit.message" value="PointInfo: Replace depricated functions."/>
     5    <property name="commit.message" value="PointInfo: Replace depricated AddCommand function."/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    77    <property name="plugin.main.version" value="12666"/>
  • TabularUnified applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianRecord.java

    r33549 r33615  
    11101110            node = new Node(new LatLon(m_coor_lat, m_coor_lon));
    11111111        }
    1112         commands.add(new AddCommand(node));
     1112        commands.add(new AddCommand(MainApplication.getLayerManager().getEditDataSet(), node));
    11131113
    11141114        Collection<OsmPrimitive> coll = new LinkedList<>();
Note: See TracChangeset for help on using the changeset viewer.