aboutsummaryrefslogtreecommitdiff
path: root/modules/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/options.py')
-rw-r--r--modules/options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/options.py b/modules/options.py
index 758b1ce5..ab40aff7 100644
--- a/modules/options.py
+++ b/modules/options.py
@@ -210,6 +210,8 @@ 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):
"""reorder settings so that all items related to section always go together"""