Bug fix : 'Save results' was inactive when all test were done, but at least one WM position was disabled, ver. 2.18.1240

This commit is contained in:
Milan Hanajik 2019-06-03 10:07:20 +02:00
parent 2382ceea73
commit dfd8e879d1
3 changed files with 6 additions and 6 deletions

View File

@ -164,11 +164,11 @@ namespace Results
{
for (int i = 0; i < WMPositionsCount; i++)
{
if (WaterMeters[i] != null)
if ((WaterMeters[i] != null) && !WaterMeters[i].Disabled)
{
foreach (var mtr in WaterMeters[i].MeterTestRslts)
{
if (!mtr.TestDone) return false;
if (!mtr.TestDone) return false;
}
}
}

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.18.1227.0")]
[assembly: AssemblyFileVersion("2.18.1227.0")]
[assembly: AssemblyVersion("2.18.1240.0")]
[assembly: AssemblyFileVersion("2.18.1240.0")]

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.18.1235.0")]
[assembly: AssemblyFileVersion("2.18.1235.0")]
[assembly: AssemblyVersion("2.18.1240.0")]
[assembly: AssemblyFileVersion("2.18.1240.0")]