mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Force a metrics update of buffer after reload
It makes reload more robust and is in any case good enough to avoid crash in #139091. Fixes bug #13091.
This commit is contained in:
parent
7e1d7036ee
commit
52ec69a1af
@ -5527,6 +5527,7 @@ Buffer::ReadStatus Buffer::reload()
|
|||||||
removePreviews();
|
removePreviews();
|
||||||
updatePreviews();
|
updatePreviews();
|
||||||
errors("Parse");
|
errors("Parse");
|
||||||
|
changed(true);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user