Fix that some code was not called with FROM / TO
This commit is contained in:
parent
06e81b2030
commit
05f5774fd2
1 changed files with 2 additions and 0 deletions
|
@ -238,6 +238,7 @@ var initInputA = func(key, i) {
|
|||
fmgc.flightPlanController.reset(2);
|
||||
fmgc.flightPlanController.init();
|
||||
Simbrief.SimbriefParser.inhibit = 0;
|
||||
fmgc.updateARPT();
|
||||
mcdu_scratchpad.scratchpads[i].empty();
|
||||
#} else if (scratchpad == "") {
|
||||
#fmgc.FMGCInternal.altSelected = 0;
|
||||
|
@ -264,6 +265,7 @@ var initInputA = func(key, i) {
|
|||
mcdu_scratchpad.scratchpads[i].empty();
|
||||
fmgc.flightPlanController.updateAirports(fromto[0], fromto[1], 2);
|
||||
fmgc.FMGCInternal.altSelected = 0;
|
||||
fmgc.updateARPT();
|
||||
fmgc.updateArptLatLon();
|
||||
#setprop("MCDU[" ~ i ~ "]/page", "ROUTESELECTION");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue