diff --git a/src/Text.cpp b/src/Text.cpp index 00b575b07a..007271d639 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -743,7 +743,8 @@ void Text::breakParagraph(Cursor & cur, bool inverse_logic) else { docstring const & lay = cur.paragraph().usePlainLayout() ? tclass.plainLayoutName() : tclass.defaultLayoutName(); - setLayout(cur, lay); + if (lay != layout.name()) + setLayout(cur, lay); } return; }