Skip to content

Commit

Permalink
Merge pull request #22993 from Eism/score_read_layout_break_crash_fix…
Browse files Browse the repository at this point in the history
…_4.3.1

fixed #22985: Tablature score crashes on opening. 4.3.1
  • Loading branch information
RomanPudashkin committed May 28, 2024
2 parents 7a631f3 + 24c37c4 commit 026c26b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/engraving/rw/read400/tread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2175,8 +2175,6 @@ bool TRead::readProperties(MeasureBase* b, XmlReader& e, ReadContext& ctx)
if (doAdd) {
b->add(lb);
b->cleanupLayoutBreaks(false);
} else {
delete lb;
}
} else if (tag == "StaffTypeChange") {
StaffTypeChange* stc = Factory::createStaffTypeChange(b);
Expand Down
2 changes: 0 additions & 2 deletions src/engraving/rw/read410/tread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2203,8 +2203,6 @@ bool TRead::readProperties(MeasureBase* b, XmlReader& e, ReadContext& ctx)
if (doAdd) {
b->add(lb);
b->cleanupLayoutBreaks(false);
} else {
delete lb;
}
} else if (tag == "StaffTypeChange") {
StaffTypeChange* stc = Factory::createStaffTypeChange(b);
Expand Down

0 comments on commit 026c26b

Please sign in to comment.