Preserve duplicate signal flags
This commit is contained in:
parent
c846e49a7d
commit
fc74dbabd5
@ -2305,7 +2305,7 @@ void Node::_duplicate_signals(const Node *p_original, Node *p_copy) const {
|
|||||||
copytarget = target;
|
copytarget = target;
|
||||||
|
|
||||||
if (copy && copytarget) {
|
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 New Issue
Block a user