Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPudashkin committed Jul 5, 2023
1 parent 2356fe2 commit 3ff601c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engraving/libmscore/textbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2312,11 +2312,11 @@ std::list<TextFragment> TextBase::fragmentList() const

const TextBase* text = this;
std::unique_ptr<TextBase> tmpText;
if (layoutInvalid()) {
if (m_layoutInvalid) {
// Create temporary text object to avoid side effects
// of createLayout() call.
tmpText.reset(toTextBase(this->clone()));
tmpText->createLayout();
tmpText->createBlocks();
text = tmpText.get();
}

Expand Down

0 comments on commit 3ff601c

Please sign in to comment.