Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 5c3573ba authored by Franz KOBER josef's avatar Franz KOBER josef
Browse files

minor fix of the update function from job files

...@@ -256,7 +256,8 @@ namespace VECTO3GUI.ViewModel.Impl ...@@ -256,7 +256,8 @@ namespace VECTO3GUI.ViewModel.Impl
private void UpdateJobData() private void UpdateJobData()
{ {
SavedJobEntry.Body.PrimaryVehicle = FirstFilePath; SavedJobEntry.Body.PrimaryVehicle = JobType.SingleBusJob == JobType ? FirstFilePath : null; ;
SavedJobEntry.Body.PrimaryVehicleResults = JobType.CompletedBusJob == JobType ? FirstFilePath : null;
SavedJobEntry.Body.CompletedVehicle = SecondFilePath; SavedJobEntry.Body.CompletedVehicle = SecondFilePath;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment