Fix hidden multimenu

This commit is contained in:
Alexey Kulish 2017-05-19 22:50:59 +03:00
parent 7a92d94913
commit a86d714946

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();