mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Fix undo with cell-plit
This function modifies several cells. Fixes bug #12746.
This commit is contained in:
parent
d0d9e82eee
commit
f7afcc31fe
@ -1413,7 +1413,8 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
break;
|
||||
|
||||
case LFUN_CELL_SPLIT:
|
||||
cur.recordUndo();
|
||||
// undo needs to cover two cells
|
||||
cur.recordUndoInset();
|
||||
splitCell(cur);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user