mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix problem noted by Scott in bug #11125.
Need to set the Buffers for math insets, too.
This commit is contained in:
parent
9e1607d15a
commit
81abfdc13d
@ -472,6 +472,7 @@ void Undo::Private::doTextUndoOrRedo(CursorData & cur, UndoElementStack & stack,
|
||||
//LYXERR0("undo.array: " << *undo.array);
|
||||
LBUFERR(undo.array);
|
||||
dit.cell().swap(*undo.array);
|
||||
dit.inset().setBuffer(buffer_);
|
||||
delete undo.array;
|
||||
undo.array = 0;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user