mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-03 12:12:56 +08:00
fix add_option overriding config with default
This commit is contained in:
parent
59544321aa
commit
93015964c7
@ -210,6 +210,7 @@ class Options:
|
||||
|
||||
def add_option(self, key, info):
|
||||
self.data_labels[key] = info
|
||||
if key not in self.data:
|
||||
self.data[key] = info.default
|
||||
|
||||
def reorder(self):
|
||||
|
Loading…
Reference in New Issue
Block a user