From 586472269d8af1eea6a2f56fd688415a5977926b Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Fri, 19 May 2017 22:50:59 +0300 Subject: [PATCH] Fix hidden multimenu --- .../mapcontextmenu/other/MapMultiSelectionMenuFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java index e4eb84d293..36be5a5ffe 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/other/MapMultiSelectionMenuFragment.java @@ -108,7 +108,9 @@ public class MapMultiSelectionMenuFragment extends Fragment implements AdapterVi if (mapActivity.isActivityDestroyed()) { return; } - mapActivity.getContextMenu().hideMenues(); + if (mapActivity.getContextMenu().isVisible()) { + mapActivity.getContextMenu().hide(); + } MapMultiSelectionMenu menu = mapActivity.getContextMenu().getMultiSelectionMenu();