Changeset 14221 in josm for trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
- Timestamp:
- 2018-09-03T20:15:11+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
r14143 r14221 14 14 15 15 import org.openstreetmap.josm.actions.AutoScaleAction; 16 import org.openstreetmap.josm.actions.AutoScaleAction.AutoScaleMode; 16 17 import org.openstreetmap.josm.command.AddCommand; 17 18 import org.openstreetmap.josm.command.Command; … … 174 175 ds.setSelected(way); 175 176 if (PermissionPrefWithDefault.CHANGE_VIEWPORT.isAllowed()) { 176 AutoScaleAction.autoScale( "selection");177 AutoScaleAction.autoScale(AutoScaleMode.SELECTION); 177 178 } else { 178 179 MainApplication.getMap().mapView.repaint();
Note:
See TracChangeset
for help on using the changeset viewer.
