Fix for removing part panes

This commit is contained in:
KillzXGaming 2019-10-29 19:04:34 -04:00
parent 44fb94584a
commit d1eb6a612d

View file

@ -2008,7 +2008,7 @@ namespace LayoutBXLYT
public void RemoveNodeWrapper()
{
if (NodeWrapper.Parent != null)
if (NodeWrapper != null && NodeWrapper.Parent != null)
{
var parent = NodeWrapper.Parent;
parent.Nodes.Remove(NodeWrapper);