mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Record undo properly when changing multiple paragraphs parameters
Fixes bug 9437.
This commit is contained in:
parent
536cd8ecd8
commit
83073aec3a
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user