summaryrefslogtreecommitdiffstats
path: root/editor/node_dock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/node_dock.cpp')
-rw-r--r--editor/node_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/node_dock.cpp b/editor/node_dock.cpp
index 6c3f9c1973..9b06435648 100644
--- a/editor/node_dock.cpp
+++ b/editor/node_dock.cpp
@@ -113,7 +113,7 @@ NodeDock::NodeDock() {
mode_hb->add_child(groups_button);
groups_button->connect("pressed", callable_mp(this, &NodeDock::show_groups));
- connections = memnew(ConnectionsDock(EditorNode::get_singleton()));
+ connections = memnew(ConnectionsDock);
connections->set_undoredo(EditorNode::get_undo_redo());
add_child(connections);
connections->set_v_size_flags(SIZE_EXPAND_FILL);