mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-13 17:09:49 +00:00
prevent (Managed by Forge) settings from reverting to default (#2090)
* prevent (Managed by Forge) settings reverting to default * save CLIP skip to config when changed, inconsistent / unpredictable saving behaviour otherwise
This commit is contained in:
@@ -83,6 +83,10 @@ class UiSettings:
|
||||
if comp == self.dummy_component:
|
||||
continue
|
||||
|
||||
# don't set (Managed by Forge) options, they revert to defaults
|
||||
if key in ["sd_model_checkpoint", "CLIP_stop_at_last_layers", "sd_vae"]:
|
||||
continue
|
||||
|
||||
if opts.set(key, value):
|
||||
changed.append(key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user