]> git.lyx.org Git - features.git/commitdiff
We don't want external change to automatically marked the buffer dirty.
authorPavel Sanda <sanda@lyx.org>
Sun, 25 Feb 2018 13:49:21 +0000 (14:49 +0100)
committerPavel Sanda <sanda@lyx.org>
Sun, 25 Feb 2018 21:18:30 +0000 (22:18 +0100)
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203995.html

src/Buffer.cpp

index 1ae48acc8a8f20917751375d078db3b946bb5b10..a9f66a674cbf9d72d585433222572e8a160c7a08 100644 (file)
@@ -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.