From f90a22870e61b85d6b58f96931dfca5d2f4b3c8a Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Thu, 10 May 2018 19:01:33 +0300 Subject: [PATCH] Fix #5244 --- .../osmand/plus/mapcontextmenu/editors/WptPtEditorFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/WptPtEditorFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/WptPtEditorFragment.java index 9a3b6c8e61..704ff116fc 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/WptPtEditorFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/WptPtEditorFragment.java @@ -164,7 +164,7 @@ public class WptPtEditorFragment extends PointEditorFragment { MapContextMenu menu = getMapActivity().getContextMenu(); - if (menu.getLatLon() != null) { + if (menu.getLatLon() != null && menu.isActive()) { LatLon latLon = new LatLon(wpt.getLatitude(), wpt.getLongitude());