diff --git a/gui/dialogs/weather.xml b/gui/dialogs/weather.xml
index e3d775357..a8b48450d 100644
--- a/gui/dialogs/weather.xml
+++ b/gui/dialogs/weather.xml
@@ -107,7 +107,7 @@
}
setprop( me.base ~ "/metar-string", normalize_string(getprop("environment/metar/data")) );
- gui.findElementByName( me.dlgRoot, "metar-string" ).getNode("legend", 1).setValue(normalize_string(getprop("environment/metar/data")));
+ gui.findElementByName( me.dlgRoot, "metar-string-input" ).getNode("legend", 1).setValue(normalize_string(getprop("environment/metar/data")));
# fill the METAR source combo box
var combo = gui.findElementByName( me.dlgRoot, "source-selection" );
@@ -153,6 +153,7 @@
setprop( "/environment/realwx/enabled", 0 );
setprop( "/environment/config/enabled", 1 );
metar = getprop( me.base ~ "/metar-string" );
+ setprop("/environment/weather-scenario", scenarioName);
} else {
setprop( "/environment/params/metar-updates-environment", 1 );
setprop( "/environment/realwx/enabled", 0 );
@@ -624,7 +625,7 @@
dialog-update
- metar-string
+ metar-string-input
@@ -657,7 +658,7 @@
hbox
- metar-string
+ metar-string-input
fill
true
0
sim/gui/dialogs/metar/metar-string
@@ -684,7 +685,7 @@
dialog-apply
- metar-string
+ metar-string-input
@@ -739,7 +740,7 @@
true
dialog-apply
- metar-string
+ metar-string-input
nasal
@@ -757,7 +758,7 @@
true
dialog-apply
- metar-string
+ metar-string-input
nasal