diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java index 691578a8d5..0326dbf9de 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/MapRouteInfoMenu.java @@ -406,12 +406,12 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener if (app != null && fragmentRef != null && fragment.isVisible()) { boolean routeCalculating = app.getRoutingHelper().isRouteBeingCalculated() || app.getTransportRoutingHelper().isRouteBeingCalculated(); if (setRouteCalculationInProgress(routeCalculating)) { - if (!routeCalculationInProgress) { - fragment.hideRouteCalculationProgressBar(); - } fragment.updateControlButtons(); fragment.updateInfo(); - fragment.openMenuHalfScreen(); + if (!routeCalculationInProgress) { + fragment.hideRouteCalculationProgressBar(); + fragment.openMenuHalfScreen(); + } } } } @@ -705,6 +705,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener routingHelper.setAppMode(next); app.initVoiceCommandPlayer(mapActivity, next, true, null, false, false); routingHelper.recalculateRouteDueToSettingsChange(); + updateMenu(); } }