Changeset 3410 in josm for trunk


Ignore:
Timestamp:
2010-08-03T20:17:35+02:00 (14 years ago)
Author:
jttt
Message:

Fix #5287 Zoom in to data after JOSM crash & restore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r3378 r3410  
    2525
    2626import org.openstreetmap.josm.Main;
     27import org.openstreetmap.josm.actions.AutoScaleAction;
    2728import org.openstreetmap.josm.data.AutosaveTask;
    2829import org.openstreetmap.josm.gui.layer.OsmDataLayer;
     
    255256                    Main.main.addLayer(layer);
    256257                }
     258                AutoScaleAction.autoScale("data");
    257259            }
    258260
Note: See TracChangeset for help on using the changeset viewer.