Fix hidden multimenu

This commit is contained in:
Alexey Kulish 2017-05-19 22:50:59 +03:00
parent 55098b39e8
commit 586472269d

View file

@ -108,7 +108,9 @@ public class MapMultiSelectionMenuFragment extends Fragment implements AdapterVi
if (mapActivity.isActivityDestroyed()) { if (mapActivity.isActivityDestroyed()) {
return; return;
} }
mapActivity.getContextMenu().hideMenues(); if (mapActivity.getContextMenu().isVisible()) {
mapActivity.getContextMenu().hide();
}
MapMultiSelectionMenu menu = mapActivity.getContextMenu().getMultiSelectionMenu(); MapMultiSelectionMenu menu = mapActivity.getContextMenu().getMultiSelectionMenu();