]> 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 13:53:48 +0000 (14:53 +0100)
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203995.html

src/Buffer.cpp

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