Preserve duplicate signal flags
This commit is contained in:
parent
c846e49a7d
commit
fc74dbabd5
1 changed files with 1 additions and 1 deletions
|
@ -2305,7 +2305,7 @@ void Node::_duplicate_signals(const Node *p_original, Node *p_copy) const {
|
|||
copytarget = target;
|
||||
|
||||
if (copy && copytarget) {
|
||||
copy->connect(E->get().signal, copytarget, E->get().method, E->get().binds, CONNECT_PERSIST);
|
||||
copy->connect(E->get().signal, copytarget, E->get().method, E->get().binds, E->get().flags);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue