From 2df82c4a44b7f95d27070f575e69206a790edb27 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 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. -- 2.39.2