mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-23 04:53:09 +00:00
Fix for removing part panes
This commit is contained in:
parent
44fb94584a
commit
d1eb6a612d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue