summaryrefslogtreecommitdiff
path: root/src/main/python/main.py
diff options
context:
space:
mode:
authorBlaine2020-06-19 11:42:46 +0530
committerBlaine2020-06-19 11:42:46 +0530
commitadbe155abe6604b07c8ef076311f3e9e7a8268b0 (patch)
treec5dc83f4505944f3da6582de8c194b8408066f13 /src/main/python/main.py
parent6a306ce01a9501f5580e81e9263cd34987ba7bc4 (diff)
downloadChemical-PFD-adbe155abe6604b07c8ef076311f3e9e7a8268b0.tar.gz
Chemical-PFD-adbe155abe6604b07c8ef076311f3e9e7a8268b0.tar.bz2
Chemical-PFD-adbe155abe6604b07c8ef076311f3e9e7a8268b0.zip
undo add
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r--src/main/python/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py
index 4cf1791..43dcbf3 100644
--- a/src/main/python/main.py
+++ b/src/main/python/main.py
@@ -77,8 +77,8 @@ class appWindow(QMainWindow):
graphic = getattr(shapes, object['object'])(*map(lambda x: int(x) if x.isdigit() else x, object['args']))
# graphic.setPen(QPen(Qt.black, 2))
# graphic.setFlags(QGraphicsItem.ItemIsSelectable | QGraphicsItem.ItemIsMovable)
- currentDiagram.addItemPlus(graphic)
graphic.setPos(20, 20)
+ currentDiagram.addItemPlus(graphic)
def newProject(self):
#call to create a new file inside mdi area