mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-10 15:42:56 +08:00
add attribute to custom script controls
This commit is contained in:
parent
615b2fc9ce
commit
31a0fbf1ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user