Revert "Reset beginOfBody() when changing paragraph layout"

This reverts commit ef8e499821.
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-21 10:15:39 +02:00
parent ef8e499821
commit b9c7594167

View File

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