mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Remove a finishUndo() after a recordUndo()
finishUndo() is only helpful in the presence of undos of type INSERT or DELETE. See the following ML thread for details: https://www.mail-archive.com/search?l=mid&q=b721c098-c7ee-d12f-1cdf-067dda9aa5cf%40lyx.org
This commit is contained in:
parent
dce9e44a14
commit
05f2494008
@ -673,7 +673,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
case LFUN_PARAGRAPH_MOVE_DOWN: {
|
||||
pit_type const pit = cur.pit();
|
||||
cur.recordUndo(pit, pit + 1);
|
||||
cur.finishUndo();
|
||||
pars_.swap(pit, pit + 1);
|
||||
needsUpdate = true;
|
||||
cur.forceBufferUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user