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

This commit is contained in:
Veronica K. B. Olsen committed 2019-10-20 13:56:21 +02:00
1 parent 6638c5187e
commit 77c6caacee
2 files changed
+19 -13

No files matched your search

+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: