B2018-082 Fixed null reference bug when deleting a folder tree node after deleting its working draft node

This commit is contained in:
John Jenko 2018-06-04 15:52:56 +00:00
parent 3977cebe1d
commit 95d181c3a6

View File

@ -2991,6 +2991,7 @@ namespace Volian.Controls.Library
}
DocVersion.Delete(_LastDocVersionInfo.VersionID);
_LastDocVersionInfo = null;
(((VETreeNode)SelectedNode.Parent).VEObject as FolderInfo).RefreshFolderDocVersions(); // B2018-082 tell tree node that it no longer has a working draft
return true;
}
else if (_LastProcedureInfo != null)