Ticket #2936: image-load.patch

File image-load.patch, 560 bytes (added by plaicy, 16 years ago)
  • src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java

     
    264264        }
    265265
    266266        public void imageLoaded() {
    267             Main.map.mapView.repaint();
     267            if ((Main.map != null) &&
     268                (Main.map.mapView != null)) {
     269                Main.map.mapView.repaint();
     270            }
    268271        }
    269272    }
    270273