diff --git a/OsmAnd/src/net/osmand/plus/routepreparationmenu/AvoidRoadsBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/routepreparationmenu/AvoidRoadsBottomSheetDialogFragment.java index e3bd6533f8..0292439913 100644 --- a/OsmAnd/src/net/osmand/plus/routepreparationmenu/AvoidRoadsBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/routepreparationmenu/AvoidRoadsBottomSheetDialogFragment.java @@ -278,6 +278,14 @@ public class AvoidRoadsBottomSheetDialogFragment extends MenuBottomSheetDialogFr routingHelper.recalculateRouteDueToSettingsChange(); } + MapActivity mapActivity = getMapActivity(); + if (mapActivity != null) { + final MapRouteInfoMenu mapRouteInfoMenu = mapActivity.getMapLayers().getMapControlsLayer().getMapRouteInfoMenu(); + if (mapRouteInfoMenu != null) { + mapRouteInfoMenu.updateMenu(); + } + } + dismiss(); }