Changeset 4755 in josm for trunk/src


Ignore:
Timestamp:
2011-12-30T23:40:55+01:00 (13 years ago)
Author:
bastiK
Message:

see #7193 - Opening more than two gpx-Tracks fails (regression)

Location:
trunk/src/org/openstreetmap/josm/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxImporter.java

    r4710 r4755  
    4242        loadLayers(is, file, fileName, tr("Markers from {0}", fileName), progressMonitor);
    4343
     44        final GpxLayer gpxLayer = this.gpxLayer;
     45        final MarkerLayer markerLayer = this.markerLayer;
     46        final Runnable postLayerTask = this.postLayerTask;
     47       
    4448        // FIXME: remove UI stuff from the IO subsystem
    4549        GuiHelper.runInEDT(new Runnable() {
  • trunk/src/org/openstreetmap/josm/io/OsmImporter.java

    r4695 r4755  
    4747    protected void importData(InputStream in, final File associatedFile) throws IllegalDataException {
    4848        loadLayer(in, associatedFile, associatedFile == null ? OsmDataLayer.createNewName() : associatedFile.getName(), NullProgressMonitor.INSTANCE);
     49
     50        final OsmDataLayer layer = this.layer;
     51        final Runnable postLayerTask = this.postLayerTask;
     52
    4953        // FIXME: remove UI stuff from IO subsystem
    5054        GuiHelper.runInEDT(new Runnable() {
Note: See TracChangeset for help on using the changeset viewer.