mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Record undo when deleting end of paragraph in change tracking mode
Fixes bug #10253.
This commit is contained in:
parent
a51847f33f
commit
86c33c96a0
@ -1585,6 +1585,7 @@ bool Text::erase(Cursor & cur)
|
||||
return dissolveInset(cur);
|
||||
|
||||
if (!par.isMergedOnEndOfParDeletion(cur.buffer()->params().track_changes)) {
|
||||
cur.recordUndo(DELETE_UNDO);
|
||||
par.setChange(cur.pos(), Change(Change::DELETED));
|
||||
cur.forwardPos();
|
||||
needsUpdate = true;
|
||||
|
Loading…
Reference in New Issue
Block a user