Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 99e42d2b authored by Michael KRISPER's avatar Michael KRISPER
Browse files

GearboxForm: APT-N only visible in Engineering Mode

parent 8c63a2f3
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ Public Class GearboxForm
If (Cfg.DeclMode) Then
CbGStype.DataSource = [Enum].GetValues(GetType(GearboxType)) _
.Cast(Of GearboxType)() _
.Where(Function(type) type.ManualTransmission() OrElse type = GearboxType.ATSerial) _
.Where(Function(type) Not type = GearboxType.APTN And (type.ManualTransmission() OrElse type = GearboxType.ATSerial)) _
.Select(Function(type) New With {Key .Value = type, .Label = type.GetLabel()}).ToList()
Else
CbGStype.DataSource = [Enum].GetValues(GetType(GearboxType)) _
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment