Commit b0f9ff45 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix regression

Introduced by python3 introduction
parent e04bff9d
......@@ -2727,7 +2727,7 @@ class OG_MainWindow(QtGui.QMainWindow, object):
item_types = self.datadict.topLevelItem(0)
item_types.takeChildren() # remove old children
for name, sort in sorted(ast.dataview.viewitems(),
key=lambda name, sort: name):
key=lambda (name, sort): name):
new_item = QtGui.QTreeWidgetItem(item_types,
[name.replace('-', '_'),
'view'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment