Changeset 34643 in osm for applications/editors/josm


Ignore:
Timestamp:
2018-09-13T00:10:42+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14221

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

Legend:

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

    r34567 r34643  
    44    <property name="commit.message" value="Adapt to JOSM core change (DefaultNameFormatter)"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="14153"/>
     6    <property name="plugin.main.version" value="14221"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsListDialog.java

    r34567 r34643  
    2424
    2525import org.openstreetmap.josm.actions.AutoScaleAction;
     26import org.openstreetmap.josm.actions.AutoScaleAction.AutoScaleMode;
    2627import org.openstreetmap.josm.data.osm.OsmPrimitive;
    2728import org.openstreetmap.josm.data.osm.Relation;
     
    391392            if (layer == null) return;
    392393            layer.data.setSelected(toSelect);
    393             new AutoScaleAction("selection").autoScale();
     394            new AutoScaleAction(AutoScaleMode.SELECTION).autoScale();
    394395        }
    395396
Note: See TracChangeset for help on using the changeset viewer.