add attribute to custom script controls

This commit is contained in:
DepFA 2022-09-25 06:55:33 +01:00 committed by AUTOMATIC1111
parent 615b2fc9ce
commit 31a0fbf1ad

View file

@ -119,6 +119,7 @@ class ScriptRunner:
continue
for control in controls:
control.custom_script_source = os.path.basename(script.filename)
control.visible = False
inputs += controls