Changeset 17856 in josm for trunk/src


Ignore:
Timestamp:
2021-05-02T10:12:56+02:00 (4 years ago)
Author:
simon04
Message:

see #20813 - Add ThumbsLoaderTest.testPerformance

File:
1 edited

Legend:

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

    r17830 r17856  
    7575    public void run() {
    7676        Logging.debug("Load Thumbnails");
    77         tracker = new MediaTracker(MainApplication.getMap().mapView);
     77        tracker = new MediaTracker(MainApplication.isDisplayingMapView() ? MainApplication.getMap().mapView : MainApplication.getMainPanel());
    7878        for (ImageEntry entry : data) {
    7979            if (stop) return;
Note: See TracChangeset for help on using the changeset viewer.