C2019-045: For enhanced procedures, allow modification of number & title

This commit is contained in:
Kathy Ruffing 2019-12-13 13:28:39 +00:00
parent beed3319ca
commit ca63cfcce0

View File

@ -548,8 +548,7 @@ namespace Volian.Controls.Library
if (!readOnlyStep) if (!readOnlyStep)
{ {
StepConfig sc = new StepConfig(MyItemInfo.MyContent.Config); StepConfig sc = new StepConfig(MyItemInfo.MyContent.Config);
if (IsDerived(sc)) if (IsDerived(sc) && !MyItemInfo.EnhAllowMod()) readOnlyStep = true;
readOnlyStep = true;
} }
ReadOnly = readOnlyStep || VwMode == E_ViewMode.View || ActiveMode == false; ReadOnly = readOnlyStep || VwMode == E_ViewMode.View || ActiveMode == false;
//Volian.Base.Library.HWndCounter.GetWindowHandlesForCurrentProcess(this.Handle, "Before AddRTFText"); //Volian.Base.Library.HWndCounter.GetWindowHandlesForCurrentProcess(this.Handle, "Before AddRTFText");