From f57fe670fe9f188f00263a539124e70bf76751f1 Mon Sep 17 00:00:00 2001
From: legoboyvdlp R <legoboyvdlp@gmail.com>
Date: Sat, 11 Jan 2020 14:48:18 +0000
Subject: [PATCH] Fix left pushbuttons

---
 Nasal/MCDU/ARRIVAL.nas      | 6 +++---
 Nasal/MCDU/F-PLN-rework.nas | 3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Nasal/MCDU/ARRIVAL.nas b/Nasal/MCDU/ARRIVAL.nas
index 72557b61..04af05d1 100644
--- a/Nasal/MCDU/ARRIVAL.nas
+++ b/Nasal/MCDU/ARRIVAL.nas
@@ -91,9 +91,9 @@ var arrivalPage = {
 			me.updateSTARs();
 		}
 		
-		me.updateActiveRunway();
-		me.updateActiveSTARs();
-		me.updateActiveTransitions();
+		#me.updateActiveRunway();
+		#me.updateActiveSTARs();
+		#me.updateActiveTransitions();
 	},
 	_clearPage: func() {
 		me.L1 = [nil, nil, "ack"];
diff --git a/Nasal/MCDU/F-PLN-rework.nas b/Nasal/MCDU/F-PLN-rework.nas
index 5ac6dd20..63c50adc 100644
--- a/Nasal/MCDU/F-PLN-rework.nas
+++ b/Nasal/MCDU/F-PLN-rework.nas
@@ -220,7 +220,6 @@ var fplnPage = { # this one is only created once, and then updated - remember th
 		me.outputList = [];
 		for (var i = 0; i + me.scroll < size(me.planList); i += 1) {
 			append(me.outputList, me.planList[i + me.scroll] );
-			if (size(me.outputList) == 5) { break; }
 		}
 		if (size(me.outputList) >= 1) {
 			me.L1 = me.outputList[0].updateLeftText();
@@ -322,7 +321,7 @@ var fplnPage = { # this one is only created once, and then updated - remember th
 						setprop("/MCDU[" ~ me.computer ~ "]/scratchpad", "");
 					}
 				} else {
-					me.outputList[index - 1 + me.scroll].pushButtonLeft();
+					me.outputList[index - 1].pushButtonLeft();
 				}
 			} else {
 				notAllowed(me.computer);