Merge pull request #1222 from campagnola/spw-fix
py3 fix for ScatterPlotWidget.setSelectedFields
This commit is contained in:
commit
0e62913b88
@ -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