Reset properly the cursor font when leaving an inset to the left

There was a missing setCursorFont there.

Fixes bug #6032.
This commit is contained in:
Jean-Marc Lasgouttes 2015-07-21 11:50:36 +02:00
parent 0d38729281
commit 2b760212e2

View File

@ -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: