Skip to content

Commit ea44ce2

Browse files
committed
Fix airway entry on SEC
1 parent b5acc67 commit ea44ce2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fbw-a32nx/src/systems/instruments/src/MCDU/legacy_pages/A320_Neo_CDU_AirwaysFromWaypointPage.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ export class A320_Neo_CDU_AirwaysFromWaypointPage {
5252
rowBottomLine = ['<RETURN', 'INSERT*[color]cyan'];
5353

5454
mcdu.onRightInput[5] = async () => {
55-
mcdu.insertTemporaryFlightPlan(() => {
56-
mcdu.updateConstraints();
55+
await mcdu.flightPlanService.finaliseAirwayEntry(forPlan, inAlternate);
5756

58-
CDUFlightPlanPage.ShowPage(mcdu, 0, forPlan);
59-
});
57+
CDUFlightPlanPage.ShowPage(mcdu, 0, forPlan);
6058
};
6159
} else if (fpIsTmpy && targetPlan.pendingAirways && targetPlan.pendingAirways.elements.length > 0) {
6260
rowBottomLine = ['{ERASE[color]amber', 'INSERT*[color]amber'];

0 commit comments

Comments
 (0)