Commit 93015964 authored by w-e-w's avatar w-e-w

fix add_option overriding config with default

parent 59544321
...@@ -210,6 +210,7 @@ class Options: ...@@ -210,6 +210,7 @@ class Options:
def add_option(self, key, info): def add_option(self, key, info):
self.data_labels[key] = info self.data_labels[key] = info
if key not in self.data:
self.data[key] = info.default self.data[key] = info.default
def reorder(self): def reorder(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment