When closing a project, it should ask for backup even if the project is saved.

This commit is contained in:
Veronica K. B. Olsen
2019-10-20 13:56:21 +02:00
parent 6638c5187e
commit 77c6caacee
2 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ class GuiMain(QMainWindow):
if self.docEditor.docChanged:
self.saveDocument()
if self.theProject.projChanged:
if self.theProject.projAltered:
saveOK = self.saveProject()
doBackup = False
if self.theProject.doBackup and self.mainConf.backupOnClose: