- Timestamp:
- 2013-05-09T03:29:40+02:00 (12 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java
r5903 r5947 507 507 // Delete the discarded inner ways 508 508 if (discardedWays.size() > 0) { 509 cmds.add(DeleteCommand.delete(Main.map.mapView.getEditLayer(), discardedWays, true)); 510 commitCommands(marktr("Delete Ways that are not part of an inner multipolygon")); 509 Command deleteCmd = DeleteCommand.delete(Main.map.mapView.getEditLayer(), discardedWays, true); 510 if (deleteCmd != null) { 511 cmds.add(deleteCmd); 512 commitCommands(marktr("Delete Ways that are not part of an inner multipolygon")); 513 } 511 514 } 512 515 -
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r5665 r5947 469 469 nodeList.add(candidateNode); 470 470 Command deleteCmd = DeleteCommand.delete(getEditLayer(), nodeList, true); 471 Main.main.undoRedo.add(deleteCmd); 471 if (deleteCmd != null) { 472 Main.main.undoRedo.add(deleteCmd); 473 } 472 474 } 473 475
Note:
See TracChangeset
for help on using the changeset viewer.