diff --git a/src/Text2.cpp b/src/Text2.cpp index 7893b8ed71..1c87faef5e 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -498,7 +498,7 @@ void Text::setParagraphs(Cursor & cur, docstring arg, bool merge) // with same layout in a sequence. // Do this only once for a selected range of paragraphs // of the same layout and depth. - cur.recordUndo(); + c.recordUndo(); par.params().apply(params, par.layout()); if (par.getDepth() != priordepth || par.layout() != priorlayout) setLabelWidthStringToSequence(c, params.labelWidthString()); diff --git a/status.21x b/status.21x index 75b15dd784..c74e2ce21d 100644 --- a/status.21x +++ b/status.21x @@ -94,7 +94,8 @@ What's new - Correctly inform if URW Garamond (ugm) font is not available (bug 9429). - +- Record undo properly when changing multiple paragraphs parameters + (bug 9437). * INTERNALS