parent
f2b1040ebc
commit
2eb9b7d143
1 changed files with 4 additions and 1 deletions
|
@ -728,7 +728,10 @@ public class GpxSelectionHelper {
|
|||
}
|
||||
|
||||
public List<TrkSegment> getPointsToDisplay() {
|
||||
return joinSegments ? gpxFile.getGeneralTrack().segments : processedPointsToDisplay;
|
||||
if (joinSegments && gpxFile != null && gpxFile.getGeneralTrack() != null) {
|
||||
return gpxFile.getGeneralTrack().segments;
|
||||
}
|
||||
return processedPointsToDisplay;
|
||||
}
|
||||
|
||||
public List<TrkSegment> getModifiablePointsToDisplay() {
|
||||
|
|
Loading…
Reference in a new issue