run the layouts config sections through dict_dff to avoid saving defaults unnecessarily
This commit is contained in:
parent
a3aa45a43d
commit
f5dfd404c9
|
@ -497,7 +497,8 @@ class ConfigBase(Borg):
|
|||
parser['layouts'] = {}
|
||||
for layout in self.layouts:
|
||||
dbg('ConfigBase::save: Processing layout: %s' % layout)
|
||||
parser['layouts'][layout] = self.layouts[layout]
|
||||
parser['layouts'][layout] = dict_diff(
|
||||
DEFAULTS['layouts']['default'], self.layouts[layout])
|
||||
|
||||
parser['plugins'] = {}
|
||||
for plugin in self.plugins:
|
||||
|
|
Loading…
Reference in New Issue