Fixed bug when main manu does not update when using slide
This commit is contained in:
parent
525703b4be
commit
9c168dd7f3
1 changed files with 3 additions and 0 deletions
|
@ -580,6 +580,9 @@ public class MapActivityActions implements DialogProvider {
|
||||||
if (mDrawerList != null && refreshDrawer){
|
if (mDrawerList != null && refreshDrawer){
|
||||||
if (currentDrawer == DrawerType.WAYPOINTS){
|
if (currentDrawer == DrawerType.WAYPOINTS){
|
||||||
showWaypointsInDrawer(false);
|
showWaypointsInDrawer(false);
|
||||||
|
} else if (currentDrawer == DrawerType.MAIN_MENU){
|
||||||
|
final ContextMenuAdapter cm = createOptionsMenu();
|
||||||
|
prepareOptionsMenu(cm);
|
||||||
} else {
|
} else {
|
||||||
mDrawerList.invalidateViews();
|
mDrawerList.invalidateViews();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue