Fix load of predefined export without lines
issue2124
This commit is contained in:
1 parent
72be9ab7d3
commit
f3a5175751
1 file changed
+1
-1
@@ -303,7 +303,7 @@ class WinExport(object):
|
||||
for export in exports:
|
||||
self.predef_model.append((
|
||||
export['id'],
|
||||
[x['name'] for x in id2lines[export['id']]],
|
||||
[x['name'] for x in id2lines.get(export['id'], [])],
|
||||
export['name']))
|
||||
self.pref_export.set_model(self.predef_model)
|
||||
|
||||
|
||||
Reference in new issue
Block a user