mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Reset caret size when inserting text over a selection
This commit is contained in:
parent
b940a81520
commit
c286cad565
@ -1959,8 +1959,10 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// "auto_region_delete", which defaults to
|
||||
// true (on).
|
||||
|
||||
if (lyxrc.auto_region_delete && cur.selection())
|
||||
if (lyxrc.auto_region_delete && cur.selection()) {
|
||||
cutSelection(cur, false);
|
||||
cur.setCurrentFont();
|
||||
}
|
||||
cur.clearSelection();
|
||||
|
||||
for (char_type c : cmd.argument())
|
||||
|
Loading…
Reference in New Issue
Block a user