aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-05-15 22:05:35 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-05-15 22:05:35 +0300
commitfd061c7cb7f243d562913d496223830bcf83b7a9 (patch)
tree06d00b6b9cfec13c7021e907a4b567b45da09c8f /Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs
parent700a9ea9e2c9d95f0c5739c58974eafaff2ebeb9 (diff)
downloadTango-fd061c7cb7f243d562913d496223830bcf83b7a9.tar.gz
Tango-fd061c7cb7f243d562913d496223830bcf83b7a9.zip
Dryer Target Value, Firmware Version Descriptors fixes.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/GeneralInformationViewVM.cs2
1 files changed, 1 insertions, 1 deletions
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<VersionFileDescriptor> 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 : "";
}