diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 37be152281..7d25df1e38 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -2437,6 +2437,8 @@ bool Buffer::isExternallyModified(CheckMethod method) const void Buffer::saveCheckSum() const { FileName const & file = d->filename; + + file.refresh(); if (file.exists()) { d->timestamp_ = file.lastModified(); d->checksum_ = file.checksum();