mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
We need remove autosave on reload now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33994 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c942233de3
commit
348991cd71
@ -3930,6 +3930,8 @@ int Buffer::spellCheck(DocIterator & from, DocIterator & to,
|
||||
bool Buffer::reload()
|
||||
{
|
||||
setBusy(true);
|
||||
// c.f. bug 6587
|
||||
removeAutosaveFile();
|
||||
// e.g., read-only status could have changed due to version control
|
||||
d->filename.refresh();
|
||||
docstring const disp_fn = makeDisplayPath(d->filename.absFilename());
|
||||
|
Loading…
Reference in New Issue
Block a user