Ignore:
Timestamp:
2017-02-25T14:05:29+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #14123 - On first startup: Registered toolbar action overwritten

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java

    r11454 r11611  
    104104        }
    105105        // Purge all other ways and relations so dataset only contains lefthand traffic data
    106         new PurgeAction().getPurgeCommand(toPurge).executeCommand();
     106        new PurgeAction(false).getPurgeCommand(toPurge).executeCommand();
    107107        // Combine adjacent countries into a single polygon
    108108        Collection<Way> optimizedWays = new ArrayList<>();
     
    110110        if (areas != null) {
    111111            try {
    112                 JoinAreasResult result = new JoinAreasAction().joinAreas(areas);
     112                JoinAreasResult result = new JoinAreasAction(false).joinAreas(areas);
    113113                if (result.hasChanges()) {
    114114                    for (Multipolygon mp : result.getPolygons()) {
Note: See TracChangeset for help on using the changeset viewer.