From 73ca054fa20dd02bae84d4bb6c568f5b6ee06331 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 23 Oct 2014 18:00:16 +0000 Subject: [PATCH] Added logic so that Prerequisite Steps (transition type) would be removed only when printing --- PROMS/Volian.Controls.Library/DisplayText.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/DisplayText.cs b/PROMS/Volian.Controls.Library/DisplayText.cs index a88b4ce8..0c56e007 100644 --- a/PROMS/Volian.Controls.Library/DisplayText.cs +++ b/PROMS/Volian.Controls.Library/DisplayText.cs @@ -119,7 +119,7 @@ namespace Volian.Controls.Library _FieldToEdit = fieldToEdit; _MyItemInfo = itemInfo; OriginalText = InfoText; - if (OriginalText.Contains("Prerequisite")) + if (OriginalText.Contains("Prerequisite") && epMode == E_EditPrintMode.Print) OriginalText = Regex.Replace(OriginalText, @"\\{Prerequisite Step: .*?\\}", ""); TextFont = itemInfo.GetItemFont();//GetItemFont(); // if in print mode, and this is the HLS of a smart template (checklist formats) see if the hls