From ad3fc3fb571f5d5c2d86931ff0ea1a1a3e6ab81d Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Mon, 14 May 2018 21:13:56 +0300 Subject: [PATCH] Fix #5377 --- .../mapcontextmenu/controllers/AmenityMenuController.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java index 1123df3ac2..ca7a2db8f2 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/controllers/AmenityMenuController.java @@ -130,6 +130,11 @@ public class AmenityMenuController extends MenuController { return 0; } + @Override + public boolean isWaypointButtonEnabled() { + return marker == null; + } + @Override public boolean displayDistanceDirection() { return true;