commit 9df4806f7f01428ddae86756c54de36bd1554b1e
Author: Pavel Sanda <sa...@lyx.org>
Date:   Sun Feb 25 14:49:21 2018 +0100

    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 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 1ae48ac..a9f66a6 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.

Reply via email to