Print '<Default configuration>' in crash report if it's unchanged

This commit is contained in:
Florian Bruhin 2014-07-29 22:51:32 +02:00
parent 0091b4729a
commit b574fcfe19

View File

@ -419,6 +419,8 @@ class ConfigManager(QObject):
if changed:
lines.append('[{}]'.format(sectname))
lines += ['{} = {}'.format(k, v) for k, v in changed]
if not lines:
lines = ['<Default configuration>']
return '\n'.join(lines)
def optionxform(self, val):