]> git.lyx.org Git - features.git/commitdiff
Revert "Reset beginOfBody() when changing paragraph layout"
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 21 Jul 2016 08:15:39 +0000 (10:15 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 21 Jul 2016 08:15:39 +0000 (10:15 +0200)
This reverts commit ef8e499821a789461b11df6994ec6b471d58dadb.

src/Paragraph.cpp

index 12bc98034690fd19d32ae12b775448f0453e7c32..8ea300ea756c40ea47ccf95926ee919c91af6d01 100644 (file)
@@ -2022,7 +2022,6 @@ docstring Paragraph::expandParagraphLabel(Layout const & layout,
 void Paragraph::applyLayout(Layout const & new_layout)
 {
        d->layout_ = &new_layout;
-       setBeginOfBody();
        LyXAlignment const oldAlign = d->params_.align();
 
        if (!(oldAlign & d->layout_->alignpossible)) {