From 9df4806f7f01428ddae86756c54de36bd1554b1e Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 25 Feb 2018 14:49:21 +0100 Subject: [PATCH] We don't want external change to automatically marked the buffer dirty. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203995.html --- src/Buffer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 1ae48acc8a..a9f66a674c 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -5360,7 +5360,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.