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 56c4bf6c74
commit 1c8033f0c0
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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).