Ignore:
Timestamp:
2013-05-09T03:29:40+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8692 - Handle null DeleteCommands in JoinAreaAction and ImproveWayAccuracyAction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java

    r5665 r5947  
    469469                    nodeList.add(candidateNode);
    470470                    Command deleteCmd = DeleteCommand.delete(getEditLayer(), nodeList, true);
    471                     Main.main.undoRedo.add(deleteCmd);
     471                    if (deleteCmd != null) {
     472                        Main.main.undoRedo.add(deleteCmd);
     473                    }
    472474                }
    473475
Note: See TracChangeset for help on using the changeset viewer.