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:
Rich
2010-11-29 16:31:41 +00:00
parent 29e4ffceea
commit 9de2eb9d9a
4 changed files with 21 additions and 11 deletions

View File

@@ -338,7 +338,7 @@ namespace VEPROMS
VETreeNode vNode = (VETreeNode)args.Node;
IVEDrillDownReadOnly veObj = vNode.VEObject;
SectionInfo mySection = veObj as SectionInfo;
if (mySection.MyContent.MyEntry != null)
if (mySection != null && mySection.MyContent.MyEntry != null)
{
// if it is a word section, find the DisplayTabItem;
DisplayTabItem tabItem = tc.GetProcDisplayTabItem(mySection);