mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18: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()
|
bool Buffer::reload()
|
||||||
{
|
{
|
||||||
setBusy(true);
|
setBusy(true);
|
||||||
|
// c.f. bug 6587
|
||||||
|
removeAutosaveFile();
|
||||||
// e.g., read-only status could have changed due to version control
|
// e.g., read-only status could have changed due to version control
|
||||||
d->filename.refresh();
|
d->filename.refresh();
|
||||||
docstring const disp_fn = makeDisplayPath(d->filename.absFilename());
|
docstring const disp_fn = makeDisplayPath(d->filename.absFilename());
|
||||||
|
Loading…
Reference in New Issue
Block a user