From 813b847c1768331b47331a6b7d2facf35984ae10 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 12 Nov 2013 18:50:14 +0000 Subject: [PATCH] Logic to handle {indent} in the tab definition --- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index f4d209e1..e85051ea 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -2486,7 +2486,8 @@ namespace VEPROMS.CSLA.Library if (tbformate != null && tbformate.Contains("{LNK Step Num}")) tbformate = tbformate.Replace("{LNK Step Num}", Ordinal.ToString()); } - + if (tbformat.Contains("{indent}")) // Robinson Background format CPBCK + tbformat = tbformat.Substring(8); // we just need to remove the "{indent}" and leave the spaces // rno gets parent tab if (IsRNOPart && FormatStepData.NumberSubs) {