Ignore:
Timestamp:
2016-06-25T11:14:09+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13049 - Inform map view of Projection updates (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

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

    r10463 r10486  
    14311431        if (newValue == null ^ oldValue == null
    14321432                || (newValue != null && oldValue != null && !Objects.equals(newValue.toCode(), oldValue.toCode()))) {
    1433 
     1433            if (Main.map != null) {
     1434                // This needs to be called first
     1435                Main.map.mapView.fixProjection();
     1436            }
    14341437            synchronized (Main.class) {
    14351438                Iterator<WeakReference<ProjectionChangeListener>> it = listeners.iterator();
Note: See TracChangeset for help on using the changeset viewer.