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


Ignore:
Timestamp:
2016-02-03T21:43:36+01:00 (9 years ago)
Author:
wiktorn
Message:

Do not force reload tiles from network when attribution is loaded, when load from cache will suffice.

Location:
trunk/src/org/openstreetmap/josm/gui/layer
Files:
2 edited

Legend:

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

    r9719 r9731  
    13351335            for (Tile t : this.allTilesCreate()) {
    13361336                if (t.hasError()) {
    1337                     loadTile(t, true);
     1337                    tileLoader.createTileLoaderJob(t).submit(force);
    13381338                }
    13391339            }
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r9430 r9731  
    7171            public void run() {
    7272                Main.debug("Attribution loaded, running loadAllErrorTiles");
    73                 TMSLayer.this.loadAllErrorTiles(true);
     73                TMSLayer.this.loadAllErrorTiles(false);
    7474            }
    7575        });
Note: See TracChangeset for help on using the changeset viewer.