diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java index 38fbb36c80..aafadb6a6a 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java @@ -178,7 +178,8 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL } if (active && mapActivity != null) { - menuController = acquireMenuController(false); + acquireMenuController(false); + MenuController menuController = getMenuController(); if (menuController != null) { menuController.addPlainMenuItems(typeStr, getPointDescription(), getLatLon()); }