summaryrefslogtreecommitdiff
path: root/Graphics.py
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics.py')
-rw-r--r--Graphics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics.py b/Graphics.py
index 1472516..c527205 100644
--- a/Graphics.py
+++ b/Graphics.py
@@ -39,7 +39,7 @@ class Graphics(QDialog, QtWidgets.QGraphicsItem):
return NodeItem(unit_operation, container, self.graphicsView)
def update_compounds(self):
- for i in self.scene.items():
+ for i in self.graphicsView.items():
if isinstance(i, NodeItem):
i.update_compounds()