mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Backport r32617, no status entry needed, this was new in 1.6.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32618 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9d36bfcfd5
commit
c6ddbaf8d2
@ -1904,7 +1904,8 @@ void LyXFunc::checkExternallyModifiedBuffers()
|
||||
BufferList::iterator bit = theBufferList().begin();
|
||||
BufferList::iterator const bend = theBufferList().end();
|
||||
for (; bit != bend; ++bit) {
|
||||
if ((*bit)->isExternallyModified(Buffer::checksum_method)) {
|
||||
if ((*bit)->fileName().exists()
|
||||
&& (*bit)->isExternallyModified(Buffer::checksum_method)) {
|
||||
docstring text = bformat(_("Document \n%1$s\n has been externally modified."
|
||||
" Reload now? Any local changes will be lost."),
|
||||
from_utf8((*bit)->absFileName()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user