From 9c168dd7f3b0fb354b477f0745f49a5da4cc802c Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 7 Nov 2014 17:02:22 +0200 Subject: [PATCH] Fixed bug when main manu does not update when using slide --- OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index d9a87f8ee5..ab0c182eb8 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -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(); }