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:
2012-12-13 22:57:50 +00:00
parent fba56b1f55
commit 6eb479b8fa
3 changed files with 13 additions and 2 deletions

View File

@@ -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);