mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue