mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Set current cursor font when toggling emphasize
The change actually works for all font toggling with implicit selection.
Fixes bug #12450.
(cherry picked from commit d44c63e2c6
)
This commit is contained in:
parent
4af43b6d52
commit
ca259d7529
@ -432,6 +432,7 @@ void Text::toggleFree(Cursor & cur, Font const & font, bool toggleall)
|
|||||||
cur.clearSelection();
|
cur.clearSelection();
|
||||||
cur.top() = resetCursor;
|
cur.top() = resetCursor;
|
||||||
cur.resetAnchor();
|
cur.resetAnchor();
|
||||||
|
cur.setCurrentFont();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user