commit dd39ab9b439a34c154144ca157625717b952b6d3
Author: Scott Kostyshak <[email protected]>
Date: Tue Apr 15 18:16:43 2025 +0200
Fix preview update after some operations, #13116
Thanks to Pavel.
Related to the following commits in master:
ec1ad735db813b82c152a125505ac5f979f6330d
3885447579b7f14a585e96c3f645577fc815ea17
965120b954d5208d4ca9d780566e214ebe0d8416
92b656c17bf042775781de28699f19f9ae8d0bc4
---
src/BufferView.cpp | 5 +++--
status.24x | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 87eb8e9a56..90e84364dd 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -2810,8 +2810,9 @@ void BufferView::mouseEventDispatch(FuncRequest const &
cmd0)
// Notify left insets
if (cur != old) {
- bool badcursor = old.fixIfBroken() || cur.fixIfBroken();
- badcursor = badcursor || notifyCursorLeavesOrEnters(old, cur);
+ bool badcursor = old.fixIfBroken();
+ badcursor |= cur.fixIfBroken();
+ badcursor |= notifyCursorLeavesOrEnters(old, cur);
if (badcursor)
cursor().fixIfBroken();
}
diff --git a/status.24x b/status.24x
index 226b17fb7c..fcc0d03c0a 100644
--- a/status.24x
+++ b/status.24x
@@ -98,6 +98,8 @@ What's new
- Fix tiny previews when initially loading a file (bug 13078).
+- Fix preview update missing after some operations (bug 13116).
+
- Fix crash in batch LyX when ui_style is set (bug 13141).
- Rebuild toolbars on runtime mode switch on Linux.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs