Merge pull request #12957 from AnyISalIn/dev

fix: update shared.opts.data when add_option
This commit is contained in:
AUTOMATIC1111 2023-09-09 09:28:33 +03:00 committed by GitHub
commit e06c16e884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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