Fix getCEMeasuredData without CEMeasured.
This commit is contained in:
@@ -428,7 +428,7 @@ AScanData ParserPrivate::getAscanDataOfCEMeasured(unsigned short aTasNum,const T
|
||||
{
|
||||
aShotList = mShotList.get();
|
||||
}
|
||||
if (!aShotList->isValid() || !aShotList->hasTasNum(aTasNum))
|
||||
if (!aShotList->isValid() || !aShotList->hasTasNum(aTasNum) || !aShotList->hasCEMeasured())
|
||||
{
|
||||
return AScanData();
|
||||
}
|
||||
@@ -485,7 +485,7 @@ OneTasAScanData ParserPrivate::getOneTasAscanDataOfCEMeasured(unsigned short aTa
|
||||
{
|
||||
aShotList = mShotList.get();
|
||||
}
|
||||
if (!aShotList->isValid() || !aShotList->hasTasNum(aTasNum))
|
||||
if (!aShotList->isValid() || !aShotList->hasTasNum(aTasNum) || !aShotList->hasCEMeasured())
|
||||
{
|
||||
return OneTasAScanData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user