See if this fixes route-recalculation if settings change during ongoing calculation
This commit is contained in:
parent
23aab4df5e
commit
1e314b481c
1 changed files with 2 additions and 0 deletions
|
@ -772,6 +772,8 @@ public class RoutingHelper {
|
|||
}
|
||||
|
||||
public void recalculateRouteDueToSettingsChange() {
|
||||
//See if this fixes route-recalculation if settings change during ongoing calculation
|
||||
clearCurrentRoute(finalLocation, intermediatePoints);
|
||||
recalculateRouteInBackground(true, lastFixedLocation, finalLocation, intermediatePoints, currentGPXRoute, route,
|
||||
true, false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue