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

Skip to content
Snippets Groups Projects
Commit 187bf2c1 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

bugfix for IEPC vehicle editor: do not show number of gears in transmission...

bugfix for IEPC vehicle editor: do not show number of gears in transmission (as there is no transmission available)
parent d0de06ca
No related branches found
No related tags found
No related merge requests found
......@@ -1190,7 +1190,11 @@ Public Class VectoJobForm
If gearbox Is Nothing Then Return
TbGbxTxt.Text = $"{gearbox.Gears.Count}-Speed {gearbox.Type.ShortName()} {gearbox.Model}"
if (JobType = VectoSimulationJobType.IEPC_E OrElse JobType = VectoSimulationJobType.IEPC_S) Then
TbGbxTxt.Text = $"IEPC {gearbox.Model}"
else
TbGbxTxt.Text = $"{gearbox.Gears.Count}-Speed {gearbox.Type.ShortName()} {gearbox.Model}"
End If
If Cfg.DeclMode Then
For i = 1 To gearbox.Gears.Count
......
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