Filter quickadd properly when splicing a wire

This commit is contained in:
Nick O'Leary 2019-09-10 11:38:35 +01:00
parent c138e2ffb4
commit db9fb8480a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 3 additions and 1 deletions

View File

@ -771,9 +771,11 @@ RED.view = (function() {
quickAddLink.virtualLink = true;
}
hideDragLines();
} else if (spliceLink) {
}
if (spliceLink) {
filter = {input:true, output:true}
}
var rebuildQuickAddLink = function() {
if (!quickAddLink) {
return;