Fix problem noted by Scott in bug #11125.

Need to set the Buffers for math insets, too.
This commit is contained in:
Richard Kimberly Heck 2018-05-08 02:07:47 -04:00
parent 9e1607d15a
commit 81abfdc13d

View File

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