Changeset 9797 in josm for trunk/src/org
- Timestamp:
- 2016-02-14T19:08:23+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/NoteImporter.java
r9748 r9797 38 38 try (InputStream is = Compression.getUncompressedFileInputStream(file)) { 39 39 final NoteLayer layer = loadLayer(is, file, file.getName(), progressMonitor); 40 if ( !Main.map.mapView.hasLayer(layer)) {40 if (Main.map == null || !Main.map.mapView.hasLayer(layer)) { 41 41 GuiHelper.runInEDT(new Runnable() { 42 42 @Override
Note:
See TracChangeset
for help on using the changeset viewer.