Skip to content

Commit

Permalink
Merge pull request musescore#18409 from RomanPudashkin/fix_build
Browse files Browse the repository at this point in the history
fix_build
  • Loading branch information
alexpavlov96 committed Jul 5, 2023
2 parents 62f79b9 + 3ff601c commit 317b708
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 317b708

Please sign in to comment.