Changeset 31524 in osm for applications/editors/josm


Ignore:
Timestamp:
2015-08-24T12:13:18+02:00 (9 years ago)
Author:
nokutu
Message:

Fix #11799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/io/download/MapillaryDownloader.java

    r31515 r31524  
    7777  /**
    7878   * If some part of the current view has not been downloaded, it is downloaded.
    79    *
    8079   */
    8180  public static void completeView() {
     
    145144  public static void automaticDownload() {
    146145    MapillaryLayer layer = MapillaryLayer.getInstance();
     146    if (Main.map.mapView.getEditLayer() == null)
     147      return;
    147148    if (isAreaTooBig()) {
    148149      tooBigErrorDialog();
    149150      return;
    150151    }
    151 
    152152    if (getMode() != AUTOMATIC)
    153153      throw new IllegalStateException("Must be in automatic mode.");
Note: See TracChangeset for help on using the changeset viewer.