diff --git a/Aircraft/c172p/c172p-set.xml b/Aircraft/c172p/c172p-set.xml
index 09da13648..4559bafce 100644
--- a/Aircraft/c172p/c172p-set.xml
+++ b/Aircraft/c172p/c172p-set.xml
@@ -70,7 +70,7 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
Cessna 172P
-
+
diff --git a/Nasal/gui.nas b/Nasal/gui.nas
index 4199ddc2e..d80d6c271 100644
--- a/Nasal/gui.nas
+++ b/Nasal/gui.nas
@@ -71,7 +71,7 @@ INIT = func {
# enable/disable menu entries
menuEnable("fuel-and-payload", getprop("/sim/flight-model") == "yasim");
menuEnable("autopilot", props.globals.getNode("/autopilot/KAP140/locks") == nil);
- menuEnable("tutorial-start", size(props.globals.getNode("/sim").getChildren("tutorial")));
+ menuEnable("tutorial-start", size(props.globals.getNode("/sim/tutorials").getChildren("tutorial")));
menuEnable("joystick-info", size(props.globals.getNode("/input/joysticks").getChildren("js")));
var fps = props.globals.getNode("/sim/rendering/fps-display", 1);
@@ -281,7 +281,7 @@ showSelTutDialog = func {
dialog[name].addChild("hrule").set("pref-height", 1);
- if (props.globals.getNode("/sim/tutorial") == nil) {
+ if (props.globals.getNode("/sim/tutorials") == nil) {
msg = dialog[name].addChild("text");
msg.set("label", "No tutorials available for this aircraft");
cancel = dialog[name].addChild("button");
@@ -301,10 +301,10 @@ showSelTutDialog = func {
combo = contentArea.addChild("combo");
combo.set("pref-width", "200");
- combo.set("property", "/sim/tutorial/current-tutorial");
+ combo.set("property", "/sim/tutorials/current-tutorial");
# Get a list of all tutorials
- ltutorials = props.globals.getNode("/sim/tutorial").getChildren("tutorial");
+ ltutorials = props.globals.getNode("/sim/tutorials").getChildren("tutorial");
for(i=0; i