Move processing split from gpx layer

This commit is contained in:
PavelRatushny 2017-07-13 16:01:24 +03:00
parent 4fac998ac9
commit e77237dce8
2 changed files with 1 additions and 1 deletions

View file

@ -451,6 +451,7 @@ public class GpxSelectionHelper {
ar.put(obj);
}
}
processSplit();
app.getSettings().SELECTED_GPX.set(ar.toString());
}

View file

@ -193,7 +193,6 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
cache.clear();
currentTrackColor = view.getSettings().CURRENT_TRACK_COLOR.get();
if (!selectedGPXFiles.isEmpty()) {
selectedGpxHelper.processSplit();
drawSelectedFilesSegments(canvas, tileBox, selectedGPXFiles, settings);
canvas.rotate(-tileBox.getRotate(), tileBox.getCenterPixelX(), tileBox.getCenterPixelY());
if (trackChartPoints != null) {