When closing a project, it should ask for backup even if the project is saved.
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user