Skip to content

Commit

Permalink
Update src/engraving/dom/edit.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: RomanPudashkin <[email protected]>
  • Loading branch information
mike-spa and RomanPudashkin committed Sep 19, 2024
1 parent 5722c80 commit 504ad41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engraving/dom/edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ TextBase* Score::addText(TextStyleType type, EngravingItem* destinationElement)
for (Score* score : scoreList()) {
MeasureBase* titleFrame = score->first();
if (!titleFrame || !titleFrame->isVBox()) {
InsertMeasureOptions opt = InsertMeasureOptions();
InsertMeasureOptions opt;
opt.cloneBoxToAllParts = !titleFrame;
titleFrame = score->insertBox(ElementType::VBOX, titleFrame, opt);
}
Expand Down

0 comments on commit 504ad41

Please sign in to comment.