scripts: pass is_filter to createLink

createLink uses an is_link variable that is unset. Fix this by passing
the is_link from the caller.
This commit is contained in:
Wim Taymans
2023-11-29 11:01:34 +01:00
parent e9fc965b32
commit a063d48281

View File

@@ -111,7 +111,7 @@ function findUndefinedTarget (si_ep)
return si_target
end
function createLink (si_ep, si_target)
function createLink (si_ep, si_target, is_filter)
local out_item = nil
local in_item = nil
local ep_props = si_ep.properties
@@ -213,7 +213,7 @@ function handleLinkable (si)
end
-- create new link
createLink (si, si_target)
createLink (si, si_target, is_filter)
end
function unhandleLinkable (si)