diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-25 16:45:22 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-25 16:45:22 +0000 |
commit | ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec (patch) | |
tree | aa02e79e2cae338ae795db36ef7d3972d26264f1 /modules/ui.py | |
parent | ff107845b4814402a4722941d669e72055384771 (diff) | |
parent | 1877a3767ed7502c25245c3de3449b22067db74c (diff) | |
download | stable-diffusion-webui-gfx803-ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec.tar.gz stable-diffusion-webui-gfx803-ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec.tar.bz2 stable-diffusion-webui-gfx803-ca3e5519e8b6dc020c5e7ae508738afb5dc6f3ec.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/ui.py b/modules/ui.py index 05d33563..f7ca5588 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1040,6 +1040,9 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): def loadsave(path, x):
def apply_field(obj, field, condition=None):
key = path + "/" + field
+
+ if getattr(obj,'custom_script_source',None) is not None:
+ key = 'customscript/' + obj.custom_script_source + '/' + key
if getattr(obj, 'do_not_save_to_config', False):
return
|