[iOS] Fixed route restoring

This commit is contained in:
r.kuznetsov 2018-02-08 14:50:43 +03:00 committed by Ilya Grechuhin
parent ddfe7e710a
commit c2f9495055

View file

@ -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];
}