B2019-084: Procedure number change not updated in pasted transition over another transition

This commit is contained in:
2020-03-05 16:52:28 +00:00
parent b9352fc0f5
commit 975db3f56d
2 changed files with 6 additions and 0 deletions

View File

@@ -896,6 +896,8 @@ namespace VEPROMS.CSLA.Library
bool haslinks = ((modtext.IndexOf(@"<START]") > -1) || (OriginalText != null && OriginalText != "" && OriginalText.IndexOf(@"<START]") > -1));
if (haslinks)
{
// B2019-084: Procedure number change not updated in pasted transition when copied text was a transition also - there were 2 '<START]'s, so replace w/ 1:
if (modtext.Contains("<START]<START]")) modtext = modtext.Replace("<START]<START]", "<START]");
// Get all links in original list
RtfToDisplayTextElements(OriginalText);
List<displayLinkElement> origList = GetLinkList(DisplayTextElementList);