commit 1c8033f0c01d20f164b18c7989d46b28ca34d8a2
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Tue Jul 21 11:50:36 2015 +0200
Reset properly the cursor font when leaving an inset to the left
There was a missing setCursorFont there.
Fixes bug #6032.
diff --git a/src/Text3.cpp b/src/Text3.cpp
index c6b2b42..372009b 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -2129,6 +2129,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
case LFUN_FINISHED_BACKWARD:
LYXERR(Debug::DEBUG, "handle LFUN_FINISHED_BACKWARD:\n" << cur);
+ cur.setCurrentFont();
break;
case LFUN_FINISHED_FORWARD:
diff --git a/status.21x b/status.21x
index 0f4b417..afb9326 100644
--- a/status.21x
+++ b/status.21x
@@ -69,7 +69,9 @@ What's new
- Fix setting of nested minipage via the dialog (bug 8716).
-- When the document language is changed, update cursor language too (bug 9586).
+- Reset cursor language when changing document-wide language (bug 9586).
+
+- Reset cursor font when leaving an inset to the left (bug 6032).
- Correctly update previews when cursor leaves inset (bug 6173).