From adbe155abe6604b07c8ef076311f3e9e7a8268b0 Mon Sep 17 00:00:00 2001 From: Blaine Date: Fri, 19 Jun 2020 11:42:46 +0530 Subject: undo add --- src/main/python/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/python/main.py') 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 -- cgit