Skip to content

Commit

Permalink
Keywords: Fix sending data while running
Browse files Browse the repository at this point in the history
  • Loading branch information
VesnaT committed Apr 26, 2022
1 parent f0e8c60 commit 024ad39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orangecontrib/text/widgets/owkeywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ def commit(self):
words_var = StringVariable(WORDS_COLUMN_NAME)
words_var.attributes = {"type": "words"}
model = self.model
attrs = [ContinuousVariable(model.headerData(i + 1, Qt.Horizontal))
for i in range(len(self.selected_scoring_methods))]
attrs = [ContinuousVariable(model.headerData(i, Qt.Horizontal))
for i in range(1, model.columnCount())]
domain = Domain(attrs, metas=[words_var])

sort_column, reverse = self.sort_column_order
Expand Down

0 comments on commit 024ad39

Please sign in to comment.