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
1 changed files with 1 additions and 0 deletions

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