When doing a demo an internal transition to another procedure was converted to text. This has been fixed.

This commit is contained in:
Rich 2017-01-30 16:09:20 +00:00
parent 08094981dc
commit bb9198aa4f

View File

@ -775,7 +775,8 @@ namespace VEPROMS.CSLA.Library
{
if (tran.MyContent.ContentItems[0].MyProcedure.ItemID != tran.MyItemToID.MyProcedure.ItemID)
if (!tran.MyContent.ContentItems[0].ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[tran.TranType].TransMenu.Contains("Proc"))
forceConvertToText = true;
if (!tran.MyContent.ContentItems[0].ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[tran.TranType].TransMenu.Contains("other proc"))
forceConvertToText = true;
}
oldContent.FixTransitionText(tran, forceConvertToText);
//if (content.IsDirty)