summaryrefslogtreecommitdiff
path: root/src/main/python/main.py
diff options
context:
space:
mode:
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