From 0e8de3b4ddabdda6c21eddd9f7734945fc8b59d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 25 Jan 2018 15:04:37 +0100 Subject: [PATCH] MiRCARTCanvasInterface.py:canvasSave(): fix call parameters. --- MiRCARTCanvasInterface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MiRCARTCanvasInterface.py b/MiRCARTCanvasInterface.py index 11313aa..e099537 100644 --- a/MiRCARTCanvasInterface.py +++ b/MiRCARTCanvasInterface.py @@ -115,7 +115,7 @@ class MiRCARTCanvasInterface(): elif saveChanges == wx.ID_NO: pass elif saveChanges == wx.ID_YES: - self.canvasSave() + self.canvasSave(event) self.parentFrame.Close(True) # }}} # {{{ canvasExportAsPng(self, event): XXX @@ -212,7 +212,7 @@ class MiRCARTCanvasInterface(): elif saveChanges == wx.ID_NO: pass elif saveChanges == wx.ID_YES: - self.canvasSave() + self.canvasSave(event) self.parentCanvas.SetCursor(wx.Cursor(wx.CURSOR_WAIT)) if newCanvasSize == None: newCanvasSize = list(self.parentCanvas.defaultCanvasSize) @@ -230,7 +230,7 @@ class MiRCARTCanvasInterface(): elif saveChanges == wx.ID_NO: pass elif saveChanges == wx.ID_YES: - self.canvasSave() + self.canvasSave(event) with wx.FileDialog(self.parentCanvas, "Open", os.getcwd(), "", \ "*.txt", wx.FD_OPEN) as dialog: if dialog.ShowModal() == wx.ID_CANCEL: