diff options
Diffstat (limited to 'Scripts/Fold/Editor/FoldWindow.cs')
| -rw-r--r-- | Scripts/Fold/Editor/FoldWindow.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Scripts/Fold/Editor/FoldWindow.cs b/Scripts/Fold/Editor/FoldWindow.cs index 186008c..0203db1 100644 --- a/Scripts/Fold/Editor/FoldWindow.cs +++ b/Scripts/Fold/Editor/FoldWindow.cs @@ -29,11 +29,9 @@ public class FoldWindow : BaseGraphWindow { titleContent = new GUIContent("Fold"); + // Create the graph view with our custom view if (graphView == null) - { graphView = new FoldGraphView(this); - graphView.Add(new FoldToolbarView(graphView)); - } rootView.Add(graphView); } |
