From 2b760212e2ea1c271d83962c52de71ca04469325 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 21 Jul 2015 11:50:36 +0200 Subject: [PATCH] Reset properly the cursor font when leaving an inset to the left There was a missing setCursorFont there. Fixes bug #6032. --- src/Text3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Text3.cpp b/src/Text3.cpp index eb8f7a0cc2..7f94185fa2 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: