1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Disconnect item_rect_changed when removing a child of GraphEdit

This commit is contained in:
Wilson E. Alvarez
2020-09-11 14:40:11 -04:00
parent 819765130d
commit 2b7c9d9070

View File

@@ -275,6 +275,7 @@ void GraphEdit::remove_child_notify(Node *p_child) {
if (gn) { if (gn) {
gn->disconnect("offset_changed", this, "_graph_node_moved"); gn->disconnect("offset_changed", this, "_graph_node_moved");
gn->disconnect("raise_request", this, "_graph_node_raised"); gn->disconnect("raise_request", this, "_graph_node_raised");
gn->disconnect("item_rect_changed", connections_layer, "update");
} }
} }