B2021-068: Procedure number should not display in editor after Procedure Properties changed or procedure title changed in editor
This commit is contained in:
parent
3b2be0b89c
commit
f4559bdff5
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user