summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-09-12 15:26:46 +0200
committerGitHub <noreply@github.com>2020-09-12 15:26:46 +0200
commit463879db56cc1e2417a02696e41ae3c40324ac24 (patch)
treefaceb51a5a531cf54e5640d6e7e50b80a9e140ae /scene/gui
parentf29c112492de932a6937e89466fc6dc7437b7e2d (diff)
parentd370ae9e1f0c5a15cba1631055f8dbefa701cb0d (diff)
Merge pull request #41995 from Rubonnek/disconnect-item-rect-changed
Disconnect item_rect_changed removing a child of GraphEdit
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/graph_edit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp
index 11b4c9e857..467d252c81 100644
--- a/scene/gui/graph_edit.cpp
+++ b/scene/gui/graph_edit.cpp
@@ -262,6 +262,7 @@ void GraphEdit::remove_child_notify(Node *p_child) {
if (gn) {
gn->disconnect("offset_changed", callable_mp(this, &GraphEdit::_graph_node_moved));
gn->disconnect("raise_request", callable_mp(this, &GraphEdit::_graph_node_raised));
+ gn->disconnect("item_rect_changed", callable_mp((CanvasItem *)connections_layer, &CanvasItem::update));
}
}