File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11# QOwnNotes Changelog
22
3+ ## 25.12.3
4+
5+ - Fixed an issue where the diff dialog was incorrectly triggered when both
6+ `enableNoteChecksumChecks` and `Editor/removeTrailingSpaces` settings were
7+ enabled (for [#3396](https://github.com/pbek/QOwnNotes/issues/3396))
8+
39## 25.12.2
410
511- Try to fix PDF export not generating color output on some computers
Original file line number Diff line number Diff line change @@ -2302,6 +2302,12 @@ bool Note::stripTrailingSpaces(int skipLine) {
23022302
23032303 if (wasStripped) {
23042304 _noteText = noteTextLines.join (detectNewlineCharacters ());
2305+
2306+ // Clear the checksum before storing to skip the external modification check
2307+ // since we're making an internal modification (stripping trailing spaces).
2308+ // The checksum will be recalculated and stored after writing to disk.
2309+ _fileChecksum.clear ();
2310+
23052311 store ();
23062312 }
23072313
You can’t perform that action at this time.
0 commit comments