mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-11 08:02:53 +08:00
add attribute to custom script controls
This commit is contained in:
parent
615b2fc9ce
commit
31a0fbf1ad
@ -119,6 +119,7 @@ class ScriptRunner:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
for control in controls:
|
for control in controls:
|
||||||
|
control.custom_script_source = os.path.basename(script.filename)
|
||||||
control.visible = False
|
control.visible = False
|
||||||
|
|
||||||
inputs += controls
|
inputs += controls
|
||||||
|
Loading…
Reference in New Issue
Block a user