B2012-370 Fixed null reference error when deleting a Word section

C2012-040 Removed the word “Step” from the description of [Shift][Ctrl][I] and [Shift][Ctrl][B]
Removed the descriptions for super and subscript we do not support these shortcut keys
This commit is contained in:
2012-12-13 22:56:27 +00:00
parent d02d29f0e1
commit fba56b1f55
3 changed files with 28 additions and 350 deletions

View File

@@ -1323,7 +1323,7 @@ namespace VEPROMS
private void tc_WordSectionDeleted(object sender, WordSectionEventArgs args)
{
// is it a library document - if so and libdoc panel is visible, update lists on panel.
if ((!args.MySectionInfo.IsStepSection) && ((args.MySectionInfo.MyContent.MyEntry.MyDocument.LibTitle ?? "") != "") && (toolsPanel.Expanded))
if ((!args.MySectionInfo.IsStepSection) && (args.MySectionInfo.MyContent.MyEntry != null && (args.MySectionInfo.MyContent.MyEntry.MyDocument.LibTitle ?? "") != "") && (toolsPanel.Expanded))
{
if (toolsTabs.SelectedTab == tabItemLibDocs)
{