From 6cf5b3230d059cb8a5c253c79d405de78186e3c3 Mon Sep 17 00:00:00 2001 From: Ivan Holmes Date: Mon, 4 Nov 2019 18:04:27 +0000 Subject: [PATCH] Fix typo calling saveFile function --- gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui.py b/gui.py index 6a5bcf0..3a59c50 100755 --- a/gui.py +++ b/gui.py @@ -243,13 +243,13 @@ class DocumentWindow(QMainWindow): filePath = QFileDialog.getSaveFileName(self.window.tabWidget, 'Save file', self.getPath("workingPath"), "Chordsheet ML files (*.xml *.cml)")[0] else: filePath = self.currentFilePath - saveFile(filePath) + self.saveFile(filePath) def menuFileSaveAsAction(self): self.updateDocument() filePath = QFileDialog.getSaveFileName(self.window.tabWidget, 'Save file', self.getPath("workingPath"), "Chordsheet ML files (*.xml *.cml)")[0] if filePath: - saveFile(filePath) + self.saveFile(filePath) self.updateTitleBar() # as we now have a new filename def saveFile(self, filePath):