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:
DenOfEquity
2024-10-16 14:10:26 +01:00
committed by GitHub
parent 2c543719e3
commit 9efa4eabfd
2 changed files with 5 additions and 1 deletions

View File

@@ -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)