mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fixup 7d965319
: reset cursor font at a finer level
This commit is contained in:
parent
7f1b1729b4
commit
a2b754b10b
@ -131,7 +131,6 @@ static void moveCursor(Cursor & cur, bool selecting)
|
|||||||
{
|
{
|
||||||
if (selecting || cur.mark())
|
if (selecting || cur.mark())
|
||||||
cur.setSelection();
|
cur.setSelection();
|
||||||
cur.setCurrentFont();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1227,6 +1226,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
cur.resetAnchor();
|
cur.resetAnchor();
|
||||||
} else {
|
} else {
|
||||||
cutSelection(cur, false);
|
cutSelection(cur, false);
|
||||||
|
cur.setCurrentFont();
|
||||||
singleParUpdate = false;
|
singleParUpdate = false;
|
||||||
}
|
}
|
||||||
moveCursor(cur, false);
|
moveCursor(cur, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user