Fix config.dump_userconfig() with defaults

This commit is contained in:
Florian Bruhin 2018-02-19 16:36:18 +01:00
parent 5eeb223338
commit 87e329aee3

View File

@ -450,7 +450,8 @@ class Config(QObject):
blocks.append(str(values))
if not blocks:
lines = ['<Default configuration>']
return '<Default configuration>'
return '\n'.join(blocks)