diff --git a/PySide6MolecularNetwork/scene.py b/PySide6MolecularNetwork/scene.py index cabb571..c291b68 100644 --- a/PySide6MolecularNetwork/scene.py +++ b/PySide6MolecularNetwork/scene.py @@ -287,7 +287,7 @@ def setLabelsFromModel(self, model, column_id, role=Qt.DisplayRole): node.setLabel(str(label)) def setLabels(self, labels): - for node, label in itertools.zip_longest(self.nodes(), labels): + for node, label in zip(self.nodes(), labels): node.setLabel(label) def resetLabels(self):