Clarify the dialog messages when closing a project or novelWriter

This commit is contained in:
Veronica K. B. Olsen
2020-11-08 00:41:04 +01:00
parent 1910463e8f
commit 18bc4fb520
+4 -2
View File
@@ -316,7 +316,8 @@ class GuiMain(QMainWindow):
if not isYes: if not isYes:
msgBox = QMessageBox() msgBox = QMessageBox()
msgRes = msgBox.question( 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: if msgRes != QMessageBox.Yes:
return False return False
@@ -988,7 +989,8 @@ class GuiMain(QMainWindow):
if self.hasProject: if self.hasProject:
msgBox = QMessageBox() msgBox = QMessageBox()
msgRes = msgBox.question( 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: if msgRes != QMessageBox.Yes:
return False return False