Merge pull request #495 from vkbo/close_dialog

Clarify the dialog messages when closing a project or novelWriter
This commit is contained in:
Veronica K. Berglyd Olsen
2020-11-08 00:44:27 +01:00
committed by GitHub
+4 -2
View File
@@ -316,7 +316,8 @@ class GuiMain(QMainWindow):
if not isYes:
msgBox = QMessageBox()
msgRes = msgBox.question(
self, "Close Project", "Save changes and close the current project?"
self, "Close Project",
"Close the current project?<br>Changes are saved automatically."
)
if msgRes != QMessageBox.Yes:
return False
@@ -988,7 +989,8 @@ class GuiMain(QMainWindow):
if self.hasProject:
msgBox = QMessageBox()
msgRes = msgBox.question(
self, "Exit", "Do you want to save changes and exit?"
self, "Exit",
"Do you want to exit novelWriter?<br>Changes are saved automatically."
)
if msgRes != QMessageBox.Yes:
return False