summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpravindalve2021-04-13 21:28:25 +0530
committerpravindalve2021-04-13 21:28:25 +0530
commita20b99806eb09c46d8ce673246b3563c78f94cfe (patch)
tree00fe6bb380aacaf2263ab570c9ebd9e9d88c07b4
parentdcba7d32bb73e04a2f65e35f86d047d619d2c6ad (diff)
downloadChemical-Simulator-GUI-a20b99806eb09c46d8ce673246b3563c78f94cfe.tar.gz
Chemical-Simulator-GUI-a20b99806eb09c46d8ce673246b3563c78f94cfe.tar.bz2
Chemical-Simulator-GUI-a20b99806eb09c46d8ce673246b3563c78f94cfe.zip
saved unit operations counter fixed
-rw-r--r--Graphics.py1
-rw-r--r--Undo.datbin924 -> 41926 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/Graphics.py b/Graphics.py
index 3deb9e2..3660f25 100644
--- a/Graphics.py
+++ b/Graphics.py
@@ -44,6 +44,7 @@ class Graphics(QDialog, QtWidgets.QGraphicsItem):
pass
else:
self.unit_operations.append(i)
+ type(i).counter += 1
print(self.unit_operations)
new_box = self.create_node_item(i, container)
new_box.setPos(i.pos.toPoint().x(), i.pos.toPoint().y())
diff --git a/Undo.dat b/Undo.dat
index f3f5d61..0ccd67c 100644
--- a/Undo.dat
+++ b/Undo.dat
Binary files differ