Changeset 13654 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/SavingAction.java
- Timestamp:
- 2018-04-21T02:42:26+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/SavingAction.java
r12726 r13654 73 73 if (newRelation.getMembersCount() == 0 && !newRelation.hasKeys()) 74 74 return; 75 MainApplication.undoRedo.add(new AddCommand(layer. data, newRelation));75 MainApplication.undoRedo.add(new AddCommand(layer.getDataSet(), newRelation)); 76 76 77 77 // make sure everybody is notified about the changes … … 95 95 memberTableModel.applyToRelation(editedRelation); 96 96 Conflict<Relation> conflict = new Conflict<>(editor.getRelation(), editedRelation); 97 MainApplication.undoRedo.add(new ConflictAddCommand(layer. data, conflict));97 MainApplication.undoRedo.add(new ConflictAddCommand(layer.getDataSet(), conflict)); 98 98 } 99 99
Note:
See TracChangeset
for help on using the changeset viewer.