diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-09-09 09:28:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 09:28:33 +0300 |
commit | e06c16e8841d6ed6473b59d9124adf8e595b5b87 (patch) | |
tree | 391fb4c2b58cf22aeed5c051b9530959ac5c64b5 /modules/options.py | |
parent | 72bc69e7419dc478d15d5d5d3d585d71d2cd0a50 (diff) | |
parent | 317d00b2a6f81eb58e33487abf05a8b84ef01dd0 (diff) |
Merge pull request #12957 from AnyISalIn/dev
fix: update shared.opts.data when add_option
Diffstat (limited to 'modules/options.py')
-rw-r--r-- | modules/options.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/options.py b/modules/options.py index 758b1ce5..e75916d2 100644 --- a/modules/options.py +++ b/modules/options.py @@ -210,6 +210,7 @@ class Options: def add_option(self, key, info):
self.data_labels[key] = info
+ self.data[key] = info.default
def reorder(self):
"""reorder settings so that all items related to section always go together"""
|