Fix errors

This commit is contained in:
Victor Shcherb 2014-08-20 23:09:48 +02:00
parent aa10091df0
commit 059f69b437

View file

@ -851,7 +851,7 @@ public class MapActivityActions implements DialogProvider {
@Override
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
if (getMyApplication().getWaypointHelper().isRouteCalculated()) {
WaypointDialogHelper.showWaypointsDialog(getMyApplication(), mapActivity);
WaypointDialogHelper.showWaypointsDialog(mapActivity);
} else {
openIntermediatePointsDialog();
}