Print '<Default configuration>' in crash report if it's unchanged
This commit is contained in:
parent
0091b4729a
commit
b574fcfe19
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user