diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java index c7fcfc6800..33fd07201d 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java @@ -376,7 +376,7 @@ public class MapContextMenu { public void fabPressed() { mapActivity.getMapActions().directionTo(latLon.getLatitude(), latLon.getLongitude()); hide(); - // open navigation menu + mapActivity.getMapLayers().getMapControlsLayer().showRouteInfoControlDialog(); } public void buttonWaypointPressed() { diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java index e7785ab7a2..566ba129c5 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java @@ -369,8 +369,8 @@ public class MapControlsLayer extends OsmandMapLayer { } } - public void showDialog() { - mapRouteInfoControlDialog.setShowDialog(); + public void showRouteInfoControlDialog() { + mapRouteInfoControlDialog.showHideDialog(); } private void initControls() {