Clarify the dialog messages when closing a project or novelWriter
This commit is contained in:
+4
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user