Changeset 34239 in osm for applications


Ignore:
Timestamp:
2018-06-03T11:32:40+02:00 (6 years ago)
Author:
biswesh
Message:

changes to fix errors

Location:
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/FixTask.java

    r34204 r34239  
    8686            monitor.subTask(tr("Updating map ..."));
    8787            SwingUtilities.invokeAndWait(() -> {
    88                 MainApplication.undoRedo.afterAdd(null);
     88                MainApplication.undoRedo.afterAdd();
    8989                MainApplication.getMap().repaint();
    9090            });
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/validation/SegmentChecker.java

    r34204 r34239  
    942942        ChangeCommand changeCommand = new ChangeCommand(originalRelation, modifiedRelation);
    943943        MainApplication.undoRedo.addNoRedraw(changeCommand);
    944         MainApplication.undoRedo.afterAdd(changeCommand);
     944        MainApplication.undoRedo.afterAdd();
    945945        PTRouteSegment wrongSegment = wrongSegments.get(testError);
    946946        wrongSegments.remove(testError);
     
    10771077                ChangeCommand changeCommand = new ChangeCommand(originalRelation, modifiedRelation);
    10781078                MainApplication.undoRedo.addNoRedraw(changeCommand);
    1079                 MainApplication.undoRedo.afterAdd(changeCommand);
     1079                MainApplication.undoRedo.afterAdd();
    10801080                wrongSegmentsToRemove.add(testError);
    10811081            }
Note: See TracChangeset for help on using the changeset viewer.