mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
fix ui-config for InputAccordion
This commit is contained in:
parent
3e0146f9bd
commit
cc8ea32501
@ -104,6 +104,8 @@ class UiLoadsave:
|
||||
apply_field(x, 'value', check_dropdown, getattr(x, 'init_field', None))
|
||||
|
||||
if type(x) == InputAccordion:
|
||||
if hasattr(x, 'custom_script_source'):
|
||||
x.accordion.custom_script_source = x.custom_script_source
|
||||
if x.accordion.visible:
|
||||
apply_field(x.accordion, 'visible')
|
||||
apply_field(x, 'value')
|
||||
|
Loading…
Reference in New Issue
Block a user