diff --git a/modules/options.py b/modules/options.py index e75916d2be2..0c00521ddee 100644 --- a/modules/options.py +++ b/modules/options.py @@ -210,7 +210,8 @@ def dumpjson(self): def add_option(self, key, info): self.data_labels[key] = info - self.data[key] = info.default + if self.data.get(key) is None: + self.data[key] = info.default def reorder(self): """reorder settings so that all items related to section always go together"""