Address #6674, better fix after 1.6.6 release.

No status entry needed, this is changing 1.6.6 new stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34309 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-04-27 14:43:03 +00:00
parent f50e7bcc12
commit 1bbeb859d0

View File

@ -1924,8 +1924,11 @@ void LyXFunc::checkExternallyModifiedBuffers()
from_utf8((*bit)->absFileName()));
int const ret = Alert::prompt(_("Reload externally changed document?"),
text, 0, 1, _("&Reload"), _("&Cancel"));
if (!ret)
if (!ret) {
reloadBuffer(*bit);
checkExternallyModifiedBuffers();
return;
}
}
}
}