B2012-368 fixed problem to newly entered not being saved when checkoff type is changed
B2012-357 fixed problem of not being able to insert a new substep if you first deleted an equipment list substep B2012-367 Fixed problem of Note type that uses the Indent token not printing the note
This commit is contained in:
@@ -853,7 +853,7 @@ namespace Volian.Controls.Library
|
||||
if (btn.Name == "btnInsHLS" && sd.Type == "RNOType") addit = false;
|
||||
if (btn.Name == "btnInsCaut" && sd.Type.Length >= 4 && sd.Type.Substring(0, 4) == "Note") addit = false;
|
||||
if (btn.Name == "btnInsNote" && sd.Type.Length >= 7 && sd.Type.Substring(0, 7) == "Caution") addit = false;
|
||||
if (btn.Name == "btnInsSubstep" && MyItemInfo.Steps != null) addit = false;
|
||||
if (btn.Name == "btnInsSubstep" && MyItemInfo.Steps != null && MyItemInfo.Steps.Count > 0) addit = false;
|
||||
if (addit)
|
||||
{
|
||||
DevComponents.DotNetBar.ButtonItem bi = new DevComponents.DotNetBar.ButtonItem("btn" + sd.Type, sd.Type);
|
||||
|
Reference in New Issue
Block a user