From fd061c7cb7f243d562913d496223830bcf83b7a9 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Wed, 15 May 2024 22:05:35 +0300 Subject: Dryer Target Value, Firmware Version Descriptors fixes. --- .../Visual_Studio/PPC/Tango.PPC.UI/Dialogs/GeneralInformationViewVM.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/GeneralInformationViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/GeneralInformationViewVM.cs index 1fd826af2..1ec2c16dc 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/GeneralInformationViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/GeneralInformationViewVM.cs @@ -230,7 +230,7 @@ namespace Tango.PPC.UI.Dialogs } private String GetVersionByFileDescriptor(List descriptors, VersionFileDestination dtype) { - var descriptor = descriptors.Where(x => x.Destination == VersionFileDestination.HeadCardSw).FirstOrDefault(); + var descriptor = descriptors.Where(x => x.Destination == dtype).FirstOrDefault(); return descriptor != null ? descriptor.Version : ""; } -- cgit v1.3.1