Browse Source

Fix crash on saving new file (severe)

master
Ivan Holmes 4 years ago
parent
commit
dc955cdf7c
  1. 4
      gui.py

4
gui.py

@ -339,9 +339,9 @@ class DocumentWindow(QMainWindow):
def menuFileSaveAction(self):
self.updateDocument()
if self.currentFilePath:
fileExt = os.path.splitext(self.currentFilePath)[1].lower()
if self.currentFilePath and fileExt != ".cma":
if fileExt != ".cma":
# Chordsheet Macro files can't be saved at this time
self.saveFile(self.currentFilePath)
else:

Loading…
Cancel
Save