mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix wrong "externally modified" message
This was a regression of 10364082c8
.
This commit is contained in:
parent
f09a9fe2e6
commit
f792e70d0a
@ -1325,6 +1325,9 @@ bool Buffer::save() const
|
||||
tempfile.setAutoRemove(false);
|
||||
if (made_backup &&
|
||||
(symlink ? savefile.copyTo(fileName(), true) : savefile.moveTo(fileName()))) {
|
||||
// saveCheckSum() was already called by writeFile(), but the
|
||||
// time stamp is invalidated by copying/moving
|
||||
saveCheckSum();
|
||||
markClean();
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user