Skip to content

Commit

Permalink
Fix NetworkScene.setLabels missing one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
n-elie committed Mar 18, 2024
1 parent a50ea5c commit 64c9753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PySide6MolecularNetwork/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def setLabelsFromModel(self, model, column_id, role=Qt.DisplayRole):
label = model.index(node.index(), column_id).data(role)
node.setLabel(str(label))

def setLabels(labels):
def setLabels(self, labels):
for node, label in itertools.zip_longest(self.nodes(), labels):
node.setLabel(label)

Expand Down

0 comments on commit 64c9753

Please sign in to comment.