diff --git a/OsmAnd/src/net/osmand/plus/views/layers/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/layers/MapControlsLayer.java index e28f3e864c..929f3cd577 100644 --- a/OsmAnd/src/net/osmand/plus/views/layers/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/layers/MapControlsLayer.java @@ -426,7 +426,7 @@ public class MapControlsLayer extends OsmandMapLayer { if (OsmAndLocationProvider.isLocationPermissionAvailable(mapActivity)) { if (longClick) { showContextMenuForMyLocation(); - } else { + } else if (!mapActivity.getContextMenu().isVisible()) { mapActivity.getMapViewTrackingUtilities().backToLocationImpl(); } } else {