Using statement added so the ContentItems[0].MyItem do not say in cache (caused issues with paste/replace step) B2016-153
When using CopyStep Paste, don’t convert a transition to text if that transition has procedure number information B2016-148 Fixed <Shift><F5> issue so that Copy Step Paste options menu pops up B2016-148 Made SetButtonAndMenuEnabling a public function to fix <Shift><F5> issue so that Copy Step Paste options menu pops up B2016-148
This commit is contained in:
@@ -803,7 +803,9 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
if (!forceConvertToText)
|
||||
{
|
||||
if (tran.MyContent.ContentItems[0].MyDocVersion.VersionID != tran.MyItemToID.MyDocVersion.VersionID)
|
||||
// bug fix B2016-148 added check if transition had procedure information in which case we do not want to convert it to text
|
||||
if (tran.MyContent.ContentItems[0].MyDocVersion.VersionID != tran.MyItemToID.MyDocVersion.VersionID &&
|
||||
!tran.MyContent.ContentItems[0].ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[tran.TranType].TransMenu.Contains("Proc"))
|
||||
forceConvertToText = true;
|
||||
}
|
||||
content.FixTransitionText(tran, forceConvertToText);
|
||||
|
Reference in New Issue
Block a user