diff --git a/Orange/widgets/data/owrank.py b/Orange/widgets/data/owrank.py index a80ba00cfee..edbf5ffb96a 100644 --- a/Orange/widgets/data/owrank.py +++ b/Orange/widgets/data/owrank.py @@ -464,8 +464,8 @@ def updateScores(self): def on_select(self): # Save indices of attributes in the original, unsorted domain - self.selected_rows = self.ranksModel.mapToSourceRows([ - i.row() for i in self.ranksView.selectionModel().selectedRows(0)]) + self.selected_rows = list(self.ranksModel.mapToSourceRows([ + i.row() for i in self.ranksView.selectionModel().selectedRows(0)])) self.commit() def setSelectionMethod(self, method):