diff --git a/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java index 0c9aedd2cc..b5e7a6692e 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/TrackSegmentFragment.java @@ -1113,9 +1113,11 @@ public class TrackSegmentFragment extends OsmAndListFragment implements TrackBit private TrkSegment getTrkSegment() { for (Track t : gpxItem.group.getGpx().tracks) { - for (TrkSegment s : t.segments) { - if (s.points.size() > 0 && s.points.get(0).equals(gpxItem.analysis.locationStart)) { - return s; + if (!t.generalTrack) { + for (TrkSegment s : t.segments) { + if (s.points.size() > 0 && s.points.get(0).equals(gpxItem.analysis.locationStart)) { + return s; + } } } }