- Timestamp:
- 2012-02-15T22:34:56+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/remotecontrol/handler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddNodeHandler.java
r4834 r4946 62 62 Main.main.getCurrentDataSet().setSelected(nnew); 63 63 if (Main.pref.getBoolean(LoadAndZoomHandler.changeViewportPermissionKey, LoadAndZoomHandler.changeViewportPermissionDefault)) { 64 new AutoScaleAction("selection").actionPerformed(null);64 AutoScaleAction.autoScale("selection"); 65 65 } else { 66 66 Main.map.mapView.repaint(); -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
r4834 r4946 42 42 Main.main.getCurrentDataSet().setSelected(way); 43 43 if (Main.pref.getBoolean(LoadAndZoomHandler.changeViewportPermissionKey, LoadAndZoomHandler.changeViewportPermissionDefault)) { 44 new AutoScaleAction("selection").actionPerformed(null);44 AutoScaleAction.autoScale("selection"); 45 45 } else { 46 46 Main.map.mapView.repaint();
Note:
See TracChangeset
for help on using the changeset viewer.