Unverified Commit 102b6617 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub
Browse files

Merge pull request #13213 from AUTOMATIC1111/fix-add_option-overriding-config-with-default

Fix major issue add_option overriding config with default
parents 59544321 93015964
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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):