Add a warning when opening novelWriter alpha version (#844)

This commit is contained in:
Veronica Berglyd Olsen
2021-08-13 15:26:22 +02:00
committed by GitHub
parent bb1a778277
commit c41e0efc73
2 changed files with 13 additions and 3 deletions
+7
View File
@@ -289,6 +289,13 @@ class GuiMain(QMainWindow):
logger.debug("GUI initialisation complete")
if nw.__hexversion__[-2] == "a":
self.makeAlert(self.tr(
"You are running an untested development version of novelWriter. "
"Please be careful when working on a live project "
"and make sure you take regular backups."
), nwAlert.WARN)
# If a project path was provided at command line, open it
if self.mainConf.cmdOpen is not None:
logger.debug("Opening project from additional command line option")