the polyline now has a reference to the simulatorpanel.

This commit is contained in:
I077899 committed 2013-04-02 15:11:50 +03:00
1 parent ad8ef4f472
commit 90f1bd94c4
1 file changed
+1 -1
@@ -700,7 +700,7 @@ public class SimulatorMap extends AbsolutePanel implements RequiresDataInitializ
SimulatorUISelectionDTO selection = new SimulatorUISelectionDTO(this.parent.getSelectedBoatClassIndex(), this.parent.getSelectedRaceIndex(),
this.parent.getSelectedCompetitorIndex(), this.parent.getSelectedLegIndex());
return PathPolyline.createPathPolyline(pathDTO.getPoints(), this.errorReporter, this.simulatorSvc, this.mapw, this, selection);
return PathPolyline.createPathPolyline(pathDTO.getPoints(), this.errorReporter, this.simulatorSvc, this.mapw, this, this.parent, selection);
}
public void addLegendOverlayForPathPolyline(long totalTimeMilliseconds) {