Skip to content

Commit

Permalink
Fix missing argument to set_highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano committed Jun 6, 2024
1 parent ac01f87 commit 10a756c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmc_plotter/plotmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ def setData(self, index, value, role=Qt.EditRole):
self.domains.set_masked(key, Qt.CheckState(value) == Qt.Checked)
elif column == HIGHLIGHT:
if role == Qt.CheckStateRole:
self.domains.set_highlight(Qt.CheckState(value) == Qt.Checked)
self.domains.set_highlight(key, Qt.CheckState(value) == Qt.Checked)

self.dataChanged.emit(index, index)
return True
Expand Down

0 comments on commit 10a756c

Please sign in to comment.