commit 2b760212e2ea1c271d83962c52de71ca04469325
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 eb8f7a0..7f94185 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -2233,6 +2233,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: