From 1c08fe5744c5cbda830fc84f686942e71bce16f5 Mon Sep 17 00:00:00 2001 From: Blaine Date: Thu, 21 May 2020 21:42:22 +0530 Subject: migrate to json --- src/main/python/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/python/main.py') 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 -- cgit