Added logic so that Prerequisite Steps (transition type) would be removed only when printing
This commit is contained in:
parent
9d2e558451
commit
73ca054fa2
@ -119,7 +119,7 @@ namespace Volian.Controls.Library
|
|||||||
_FieldToEdit = fieldToEdit;
|
_FieldToEdit = fieldToEdit;
|
||||||
_MyItemInfo = itemInfo;
|
_MyItemInfo = itemInfo;
|
||||||
OriginalText = InfoText;
|
OriginalText = InfoText;
|
||||||
if (OriginalText.Contains("Prerequisite"))
|
if (OriginalText.Contains("Prerequisite") && epMode == E_EditPrintMode.Print)
|
||||||
OriginalText = Regex.Replace(OriginalText, @"\\{Prerequisite Step: .*?\\}", "");
|
OriginalText = Regex.Replace(OriginalText, @"\\{Prerequisite Step: .*?\\}", "");
|
||||||
TextFont = itemInfo.GetItemFont();//GetItemFont();
|
TextFont = itemInfo.GetItemFont();//GetItemFont();
|
||||||
// if in print mode, and this is the HLS of a smart template (checklist formats) see if the hls
|
// if in print mode, and this is the HLS of a smart template (checklist formats) see if the hls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user