B2018-082 Fixed null reference bug when deleting a folder tree node after deleting its working draft node
This commit is contained in:
parent
3977cebe1d
commit
95d181c3a6
@ -2991,6 +2991,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
DocVersion.Delete(_LastDocVersionInfo.VersionID);
|
DocVersion.Delete(_LastDocVersionInfo.VersionID);
|
||||||
_LastDocVersionInfo = null;
|
_LastDocVersionInfo = null;
|
||||||
|
(((VETreeNode)SelectedNode.Parent).VEObject as FolderInfo).RefreshFolderDocVersions(); // B2018-082 tell tree node that it no longer has a working draft
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (_LastProcedureInfo != null)
|
else if (_LastProcedureInfo != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user