show waypoint dialogue after add waypoint

This commit is contained in:
sonora 2013-06-12 00:55:05 +02:00
parent 1fe065a17f
commit 0010b12f54

View file

@ -1307,14 +1307,16 @@ public class MapActivityActions implements DialogProvider {
settings.insertIntermediatePoint(lat, lon, name, 0, true); settings.insertIntermediatePoint(lat, lon, name, 0, true);
} }
targetPointsHelper.updatePointsFromSettings(); targetPointsHelper.updatePointsFromSettings();
MapActivity.launchMapActivityMoveToTop(act); IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
//MapActivity.launchMapActivityMoveToTop(act);
} }
}); });
builder.show(); builder.show();
} else { } else {
settings.setPointToNavigate(lat, lon, true, name); settings.setPointToNavigate(lat, lon, true, name);
targetPointsHelper.updatePointsFromSettings(); targetPointsHelper.updatePointsFromSettings();
MapActivity.launchMapActivityMoveToTop(act); IntermediatePointsDialog.openIntermediatePointsDialog(mapActivity);
//MapActivity.launchMapActivityMoveToTop(act);
} }
} }