summaryrefslogtreecommitdiff
path: root/src/main/python/main.py
diff options
context:
space:
mode:
authorBlaine2020-05-21 21:42:22 +0530
committerBlaine2020-05-21 21:42:22 +0530
commit1c08fe5744c5cbda830fc84f686942e71bce16f5 (patch)
treee6d8508a030f69cd5de0320ed3f0c146232031b4 /src/main/python/main.py
parent446c8aad1c16fe22b06ba7891b942aa2555cf443 (diff)
downloadChemical-PFD-1c08fe5744c5cbda830fc84f686942e71bce16f5.tar.gz
Chemical-PFD-1c08fe5744c5cbda830fc84f686942e71bce16f5.tar.bz2
Chemical-PFD-1c08fe5744c5cbda830fc84f686942e71bce16f5.zip
migrate to json
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r--src/main/python/main.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py
index 335e449..4bb5abd 100644
--- a/src/main/python/main.py
+++ b/src/main/python/main.py
@@ -62,9 +62,8 @@ class appWindow(QMainWindow):
def updateMenuBar(self):
# self.undo.setAction(self.activeScene.painter.undoAction)
- self.undo.triggered(self.activeScene.painter.undoAction.trigger)
- self.redo.triggered(self.activeScene.painter.redoAction.trigger)
- # self.redo.setAction(self.activeScene.painter.redoAction)
+ self.undo.triggered.connect(self.activeScene.painter.undoAction.trigger())
+ self.redo.triggered.connect(self.activeScene.painter.redoAction.trigger())
def createToolbar(self):
#place holder for toolbar with fixed width, layout may change