Ignore:
Timestamp:
2018-02-11T02:14:44+01:00 (7 years ago)
Author:
donvip
Message:

fix #josm15850 - IAE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationDialog.java

    r33692 r34060  
    10891089
    10901090        if (relationChanged) {
    1091             commandGroup.add(new ChangeCommand(associatedStreetRelation, editedRelation));
    1092         }
    1093 
    1094         Main.main.undoRedo.add(new SequenceCommand(tr("Address Interpolation"), commandGroup));
    1095         MainApplication.getLayerManager().getEditLayer().invalidate();
     1091            commandGroup.add(new ChangeCommand(currentDataSet, associatedStreetRelation, editedRelation));
     1092        }
     1093
     1094        if (!commandGroup.isEmpty()) {
     1095            Main.main.undoRedo.add(new SequenceCommand(tr("Address Interpolation"), commandGroup));
     1096            MainApplication.getLayerManager().getEditLayer().invalidate();
     1097        }
    10961098
    10971099        return true;
Note: See TracChangeset for help on using the changeset viewer.