From 3847d2f489a24b073dbbbc0a4ce329bb84a4bfcc Mon Sep 17 00:00:00 2001 From: Chumva Date: Thu, 14 Mar 2019 11:31:13 +0200 Subject: [PATCH] Remove unnecessary changes --- OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); }