Changeset 9187 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2015-12-28T10:59:14+01:00 (9 years ago)
Author:
simon04
Message:

fix #12238 - Restore saved view location after loading session

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SessionLoadAction.java

    r8846 r9187  
    122122                        for (Layer l : layers) {
    123123                            if (canceled) return;
    124                             Main.main.addLayer(l);
     124                            Main.main.addLayer(l, (ViewportData) null);
    125125                        }
    126126                        if (active != null) {
Note: See TracChangeset for help on using the changeset viewer.