From f4559bdff5c0d95f7516ee34ff67fea27a0d0c64 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 17 Jun 2021 13:24:48 +0000 Subject: [PATCH] B2021-068: Procedure number should not display in editor after Procedure Properties changed or procedure title changed in editor --- PROMS/Volian.Controls.Library/RTBItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/RTBItem.cs b/PROMS/Volian.Controls.Library/RTBItem.cs index 3cc259ec..0e95860d 100644 --- a/PROMS/Volian.Controls.Library/RTBItem.cs +++ b/PROMS/Volian.Controls.Library/RTBItem.cs @@ -163,7 +163,7 @@ namespace Volian.Controls.Library string tabString = MyItemInfo.IsSection ? MyItemInfo.DisplayNumber.PadRight(MyItemInfo.MyTab.CleanText.Length) : MyItemInfo.MyTab.CleanText; //string tabString = /*MyItemInfo.IsSection ? MyItemInfo.DisplayNumber : */ MyItemInfo.MyTab.CleanText; - lblTab.Text = tabString; + if (!MyItemInfo.IsProcedure) lblTab.Text = tabString; // B2021-068: don't reset if procedure (it is blank when initialized) // calculate the width based upon characters per inch considering user's DPI int cpi = MyItemInfo.IsStep ? (int)MyItemInfo.FormatStepData.TabData.Font.CPI : 12;