|
@ -339,9 +339,9 @@ class DocumentWindow(QMainWindow): |
|
|
def menuFileSaveAction(self): |
|
|
def menuFileSaveAction(self): |
|
|
self.updateDocument() |
|
|
self.updateDocument() |
|
|
|
|
|
|
|
|
|
|
|
if self.currentFilePath: |
|
|
fileExt = os.path.splitext(self.currentFilePath)[1].lower() |
|
|
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 |
|
|
# Chordsheet Macro files can't be saved at this time |
|
|
self.saveFile(self.currentFilePath) |
|
|
self.saveFile(self.currentFilePath) |
|
|
else: |
|
|
else: |
|
|