Record undo when deleting end of paragraph in change tracking mode

Fixes bug #10253.
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-05 16:22:49 +02:00
parent a51847f33f
commit 86c33c96a0

View File

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