mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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();
|
||||
updatePreviews();
|
||||
errors("Parse");
|
||||
changed(true);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user