Disconnect item_rect_changed when removing a child of GraphEdit
This commit is contained in:
parent
4566db2a16
commit
d370ae9e1f
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue