From: Pavel Sanda Date: Sun, 25 Feb 2018 13:49:21 +0000 (+0100) Subject: We don't want external change to automatically marked the buffer dirty. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3773 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2df82c4a44b7;p=features.git We don't want external change to automatically marked the buffer dirty. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203995.html --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 7cabe6fce1..1c186deeaf 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -5293,7 +5293,6 @@ void Buffer::Impl::fileExternallyModified(bool const exists) "checksum unchanged: " << filename); return; } - lyx_clean = bak_clean = false; // If the file has been deleted, only mark the file as dirty since it is // pointless to prompt for reloading. If later a file is moved into this // location, then the externally modified warning will appear then.