Added other symbol font names (Symbol, VESymb) to IsSymbolFont.
Check for null mySection before checking details on a new node. Error 177 - Hidden property added to use for collapse rather than Visible. Error 173 - Use DeleteItemInfoAndChildren on Cancel of a new ItemInfo.
This commit is contained in:
@@ -860,7 +860,8 @@ namespace Volian.Controls.Library
|
||||
else
|
||||
p1 = procedure.ItemID;
|
||||
}
|
||||
if (p1 != -1) Item.Delete(p1);
|
||||
if (p1 != -1)
|
||||
DeleteItemInfoAndChildren(_LastProcedureInfo);// Delete Item and reset Previous and Next
|
||||
}
|
||||
else if (newtype == MenuSelections.ProcedureAfter || newtype == MenuSelections.ProcedureBefore)
|
||||
{
|
||||
@@ -881,7 +882,8 @@ namespace Volian.Controls.Library
|
||||
else
|
||||
p2 = procedure.ItemID;
|
||||
}
|
||||
if (p2 != -1) Item.Delete(p2);
|
||||
if (p2 != -1)
|
||||
DeleteItemInfoAndChildren(_LastProcedureInfo); // Delete Item and reset Previous and Next
|
||||
}
|
||||
#endregion
|
||||
#region InsertSection
|
||||
@@ -902,7 +904,8 @@ namespace Volian.Controls.Library
|
||||
else
|
||||
s1 = section.ItemID;
|
||||
}
|
||||
if (s1 != -1) Item.Delete(s1);
|
||||
if (s1 != -1)
|
||||
DeleteItemInfoAndChildren(_LastSectionInfo);// Delete Item and reset Previous and Next
|
||||
}
|
||||
}
|
||||
else if (newtype == MenuSelections.SectionAfter || newtype == MenuSelections.SectionBefore)
|
||||
@@ -923,7 +926,8 @@ namespace Volian.Controls.Library
|
||||
else
|
||||
s2 = section.ItemID;
|
||||
}
|
||||
if (s2 != -1) Item.Delete(s2);
|
||||
if (s2 != -1)
|
||||
DeleteItemInfoAndChildren(_LastSectionInfo);// Delete Item and reset Previous and Next
|
||||
}
|
||||
#endregion
|
||||
#region InsertStep
|
||||
|
Reference in New Issue
Block a user