Fix bug #6968: isExternallyModified remains "true" after "Revert to Saved".

I forgot to save the checksum after reloading.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35805 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-10-24 21:38:19 +00:00
parent 72a93582b0
commit 943288066d

View File

@ -4073,6 +4073,7 @@ bool Buffer::reload()
changed(true); changed(true);
updateTitles(); updateTitles();
markClean(); markClean();
saveCheckSum(d->filename);
message(bformat(_("Document %1$s reloaded."), disp_fn)); message(bformat(_("Document %1$s reloaded."), disp_fn));
} else { } else {
message(bformat(_("Could not reload document %1$s."), disp_fn)); message(bformat(_("Could not reload document %1$s."), disp_fn));