forked from organicmaps/organicmaps
[iOS] Fixed route restoring
This commit is contained in:
parent
ddfe7e710a
commit
c2f9495055
1 changed files with 2 additions and 0 deletions
|
@ -491,6 +491,8 @@ void logPointEvent(MWMRoutePoint * point, NSString * eventType)
|
|||
{
|
||||
[self clearAltitudeImagesData];
|
||||
GetFramework().GetRoutingManager().CloseRouting(removeRoutePoints);
|
||||
if (removeRoutePoints)
|
||||
GetFramework().GetRoutingManager().DeleteSavedRoutePoints();
|
||||
[MWMThemeManager setAutoUpdates:NO];
|
||||
[[MapsAppDelegate theApp] showAlertIfRequired];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue