bugfix: enable globalwx METAR textfield on --metar
The METAR input field is now enabled when the global weather dialog is opened and fg was started with --metar=something
This commit is contained in:
parent
13af11ae1f
commit
c41e11e80b
1 changed files with 1 additions and 1 deletions
|
@ -1601,7 +1601,7 @@
|
||||||
combo.getChild("value", i, 1).setValue(scenarios[i].getNode("name").getValue());
|
combo.getChild("value", i, 1).setValue(scenarios[i].getNode("name").getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
me.scenarioListenerId = setlistener( me.base ~ "/source-selection", func(n) { me.scenarioListener(n); } );
|
me.scenarioListenerId = setlistener( me.base ~ "/source-selection", func(n) { me.scenarioListener(n); }, 1, 1 );
|
||||||
me.metarListenerId = setlistener( "environment/metar/valid", func(n) { me.metarListener(n); }, 1, 1 );
|
me.metarListenerId = setlistener( "environment/metar/valid", func(n) { me.metarListener(n); }, 1, 1 );
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue