From 6263bac5adbfc1a73cb69e7b4338a696916f1b15 Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Fri, 18 Mar 2022 16:52:58 +0100 Subject: [PATCH] disabled whole retarder panel (not only the combobox) --- VECTO/GUI/VehicleForm.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VECTO/GUI/VehicleForm.vb b/VECTO/GUI/VehicleForm.vb index 43ab91fa3c..84f7e60edd 100644 --- a/VECTO/GUI/VehicleForm.vb +++ b/VECTO/GUI/VehicleForm.vb @@ -1232,7 +1232,7 @@ Public Class VehicleForm gbRatiosPerGear.Enabled = cbEmPos.SelectedValue.Equals(PowertrainPosition.HybridP2_5) if (VehicleType.IsOneOf(VectoSimulationJobType.BatteryElectricVehicle, VectoSimulationJobType.SerialHybridVehicle)) then - CbRtType.Enabled = PowertrainPosition.BatteryElectricE3.Equals(cbEmPos.SelectedValue) + gbRetarderLosses.Enabled = PowertrainPosition.BatteryElectricE3.Equals(cbEmPos.SelectedValue) end if End Sub -- GitLab