Changeset 34439 in osm


Ignore:
Timestamp:
2018-08-01T11:34:06+02:00 (6 years ago)
Author:
nzara
Message:

Bug fix: get from Coordinate; multiple imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/Preview.java

    r34435 r34439  
    1919        public static FilePlacement placement;
    2020       
    21         public static void set (@NotNull OsmDataLayer dataLayer, @NotNull FilePlacement placement) {
     21        public static synchronized void set (@NotNull OsmDataLayer dataLayer, @NotNull FilePlacement placement) {
    2222                clear();
    2323                Preview.dataLayer = dataLayer;
    2424                Preview.placement = placement;
    25                 MainApplication.getLayerManager().addLayer(dataLayer); 
     25                MainApplication.getLayerManager().addLayer(dataLayer);
     26
    2627        }
    2728       
Note: See TracChangeset for help on using the changeset viewer.