Merge pull request #13132 from Chaosus/preserve_dupsignals_flags
Preserve duplicate signal flags
This commit is contained in:
commit
25b860ee2a
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;
|
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 a new issue