py3 fix for scatterplotwidget.setselectedfields
This commit is contained in:
parent
ad7453c781
commit
ed36a0194b
@ -96,7 +96,7 @@ class ScatterPlotWidget(QtGui.QSplitter):
|
||||
try:
|
||||
self.fieldList.clearSelection()
|
||||
for f in fields:
|
||||
i = self.fields.keys().index(f)
|
||||
i = list(self.fields.keys()).index(f)
|
||||
item = self.fieldList.item(i)
|
||||
item.setSelected(True)
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user