Fixed bug when main manu does not update when using slide

This commit is contained in:
Denis 2014-11-07 17:02:22 +02:00
parent 525703b4be
commit 9c168dd7f3

View file

@ -580,6 +580,9 @@ public class MapActivityActions implements DialogProvider {
if (mDrawerList != null && refreshDrawer){
if (currentDrawer == DrawerType.WAYPOINTS){
showWaypointsInDrawer(false);
} else if (currentDrawer == DrawerType.MAIN_MENU){
final ContextMenuAdapter cm = createOptionsMenu();
prepareOptionsMenu(cm);
} else {
mDrawerList.invalidateViews();
}