Change how text hash is calculated in documents, and add dates

This commit is contained in:
Veronica Berglyd Olsen
2023-08-25 16:55:08 +02:00
parent 1b98bdf28f
commit b3fcea29da
2 changed files with 80 additions and 48 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ class GuiDocEditor(QTextEdit):
self.saveCursorPosition()
if not self._nwDocument.writeDocument(docText):
saveOk = False
if self._nwDocument._currHash != self._nwDocument._prevHash:
if self._nwDocument.hashError:
msgYes = SHARED.question(self.tr(
"This document has been changed outside of novelWriter "
"while it was open. Overwrite the file on disk?"