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.
(cherry picked from commit 52ec69a1af
)
This commit is contained in:
parent
f95e238ccd
commit
f06de64047
@ -5585,6 +5585,7 @@ Buffer::ReadStatus Buffer::reload()
|
||||
removePreviews();
|
||||
updatePreviews();
|
||||
errors("Parse");
|
||||
changed(true);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@ -52,6 +52,8 @@ What's new
|
||||
modification. Only file deletion will trigger the modification
|
||||
flag now (see bug 12819).
|
||||
|
||||
- fix crash when using Save As... with previews enabled (bug 13091).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user