diff --git a/gui/dialogs/route-manager.xml b/gui/dialogs/route-manager.xml
index 441e95429..f3c665598 100644
--- a/gui/dialogs/route-manager.xml
+++ b/gui/dialogs/route-manager.xml
@@ -33,6 +33,11 @@ command interface /autopilot/route-manager/input:
var dep = routem.getNode("departure", 1);
var dest = routem.getNode("destination", 1);
+ var isMach = dlg.getNode("cruise-is-mach", 1);
+ isMach.setBoolValue(routem.getNode('cruise/mach').getValue() > 0.0);
+ var isFL = dlg.getNode("cruise-is-flight-level", 1);
+ isFL.setBoolValue(routem.getNode('cruise/flight-level').getValue() > 0);
+
var sel_index = func {
return int(selection.getValue());
}
@@ -252,8 +257,6 @@ command interface /autopilot/route-manager/input:
return;
}
-
-
# we're on the ground, find the nearest airport to start from
if (fp.departure == nil) {
var apts = findAirportsWithinRange(25.0);
@@ -412,7 +415,11 @@ command interface /autopilot/route-manager/input:
nasal
-
+
@@ -498,36 +505,56 @@ command interface /autopilot/route-manager/input:
star
-
-
+
- hbox
+ table
right
-
+
+ 0
cruise-speed
true
+
left
- true
- 100
+ 50
+ 1
+
+ /sim/gui/dialogs/route-manager/cruise-is-mach
+
+
/autopilot/route-manager/cruise/speed-kts
dialog-apply
@@ -535,13 +562,45 @@ command interface /autopilot/route-manager/input:
+
+ cruise-speed-mach
+ true
+
+ left
+ 50
+ /autopilot/route-manager/cruise/mach
+
+ dialog-apply
+ cruise-speed-mach
+
+
+ /sim/gui/dialogs/route-manager/cruise-is-mach
+
+ 1
+
+
+
+ cruise-speed-type-check
+ left
+
+ /sim/gui/dialogs/route-manager/cruise-is-mach
+
+ dialog-apply
+ cruise-speed-type-check
+
+ 2
+
+
+
-
+
right
+ 3
cruise-alt
true
+
left
true
100
@@ -550,7 +609,42 @@ command interface /autopilot/route-manager/input:
dialog-apply
cruise-alt
+
+ /sim/gui/dialogs/route-manager/cruise-is-flight-level
+
+ 4
+
+
+ cruise-alt-fl
+ true
+
+ left
+ true
+ 100
+ /autopilot/route-manager/cruise/flight-level
+
+ dialog-apply
+ cruise-alt-fl
+
+
+ /sim/gui/dialogs/route-manager/cruise-is-flight-level
+
+ 4
+
+
+
+ cruise-alt-type-check
+ left
+
+ /sim/gui/dialogs/route-manager/cruise-is-flight-level
+
+ dialog-apply
+ cruise-alt-type-check
+
+ 5
+
+