mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 22:40:27 +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()
|
public void RemoveNodeWrapper()
|
||||||
{
|
{
|
||||||
if (NodeWrapper.Parent != null)
|
if (NodeWrapper != null && NodeWrapper.Parent != null)
|
||||||
{
|
{
|
||||||
var parent = NodeWrapper.Parent;
|
var parent = NodeWrapper.Parent;
|
||||||
parent.Nodes.Remove(NodeWrapper);
|
parent.Nodes.Remove(NodeWrapper);
|
||||||
|
|
Loading…
Reference in a new issue