Context menu: open route info after FAB pressed

This commit is contained in:
Alexey Kulish 2015-10-19 11:03:50 +03:00
parent 77c208e84f
commit c15da659c8
2 changed files with 3 additions and 3 deletions

View file

@ -376,7 +376,7 @@ public class MapContextMenu {
public void fabPressed() { public void fabPressed() {
mapActivity.getMapActions().directionTo(latLon.getLatitude(), latLon.getLongitude()); mapActivity.getMapActions().directionTo(latLon.getLatitude(), latLon.getLongitude());
hide(); hide();
// open navigation menu mapActivity.getMapLayers().getMapControlsLayer().showRouteInfoControlDialog();
} }
public void buttonWaypointPressed() { public void buttonWaypointPressed() {

View file

@ -369,8 +369,8 @@ public class MapControlsLayer extends OsmandMapLayer {
} }
} }
public void showDialog() { public void showRouteInfoControlDialog() {
mapRouteInfoControlDialog.setShowDialog(); mapRouteInfoControlDialog.showHideDialog();
} }
private void initControls() { private void initControls() {