From 2b7c9d9070d18b0d2a78db77c7f57889a520a1ed Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Fri, 11 Sep 2020 14:40:11 -0400 Subject: [PATCH] Disconnect item_rect_changed when removing a child of GraphEdit --- scene/gui/graph_edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 490fd9b0e3f..de4c0405d3a 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -275,6 +275,7 @@ void GraphEdit::remove_child_notify(Node *p_child) { if (gn) { gn->disconnect("offset_changed", this, "_graph_node_moved"); gn->disconnect("raise_request", this, "_graph_node_raised"); + gn->disconnect("item_rect_changed", connections_layer, "update"); } }