(1) psi unit, (2) Transition seq. fixed (ISequenceCondition seqCondition null after renaming a component).

This commit is contained in:
Milan Hanajik
2020-06-08 14:34:51 +02:00
parent 3496fcbbba
commit d99c53bc8e
2 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -590,7 +590,7 @@ namespace TBF.BenchControl.Sequences
{
ISequenceCondition seqCondition = TbfComponents.FindComponent(fields[0]) as ISequenceCondition;
int condID;
if (int.TryParse(fields[1], out condID))
if ((seqCondition != null) && int.TryParse(fields[1], out condID))
{
conditionOperation = seqCondition.ConditionOp(condID);
}