6338: NotImplementedError on Export a View to a spreadsheet from the People Category
svn: r21136
This commit is contained in:
parent
cb268dac1f
commit
38b9ae0e6a
@ -1063,8 +1063,10 @@ class ListView(NavigationView):
|
||||
ofile.end_row()
|
||||
else:
|
||||
# Tree model
|
||||
node = self.model.get_node_from_iter(self.model.do_get_iter((0,))[1])
|
||||
self.write_node(node, len(levels), [], ofile, data_cols)
|
||||
hasmodel, iter = self.model.do_get_iter((0,))
|
||||
if hasmodel:
|
||||
node = self.model.get_node_from_iter(iter)
|
||||
self.write_node(node, len(levels), [], ofile, data_cols)
|
||||
|
||||
ofile.end_page()
|
||||
ofile.close()
|
||||
|
Loading…
Reference in New Issue
Block a user