mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
Merge pull request #15231 from light-and-ray/fix_ui-config_for_InputAccordion
fix ui-config for InputAccordion [custom_script_source]
This commit is contained in:
commit
e8613dbc93
@ -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