- Timestamp:
- 2022-11-28T18:46:35+01:00 (2 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/layer/geoimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r18503 r18605 636 636 public Future<?> setImage(IImageEntry<?> entry) { 637 637 LoadImageRunnable runnable = setImage0(entry); 638 return runnable != null ? MainApplication.worker.submit(runnable) : null;638 return runnable != null && !MainApplication.worker.isShutdown() ? MainApplication.worker.submit(runnable) : null; 639 639 } 640 640 -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r18599 r18605 908 908 ImageData removedData = ((GeoImageLayer) e.getRemovedLayer()).getImageData(); 909 909 if (removedData == ((ImageEntry) this.currentEntry).getDataSet()) { 910 displayImages( null);910 displayImages(e.getRemovedLayer(), null); 911 911 } 912 912 removedData.removeImageDataUpdateListener(this);
Note:
See TracChangeset
for help on using the changeset viewer.