implemented remval and re-ordering of route actions

This commit is contained in:
Stephan Richter
2020-10-29 00:28:03 +01:00
parent 08dd21188a
commit d40426e24c
4 changed files with 62 additions and 25 deletions

View File

@@ -50,7 +50,7 @@ public class SpeedReduction extends RouteAction implements Constants{
if (error == null) {
route.addAction(contact.trigger(),new SpeedReduction(route.id(), s));
contact.plan().stream("Action added!");
return null;
return route.properties();
}
} catch (NumberFormatException e) {
error = t("Not a valid number!");