Skip to content

Commit

Permalink
Merge pull request #26700 from cbjeukendrup/crash_page_break_on_vbox
Browse files Browse the repository at this point in the history
Fix crash with page break on vertical frame
  • Loading branch information
mike-spa authored Feb 24, 2025
2 parents 9033dc2 + 683d1fa commit 1cfdf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engraving/dom/engravingitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ staff_idx_t EngravingItem::effectiveStaffIdx() const
}

const System* system = toSystem(findAncestor(ElementType::SYSTEM));
if (!system) {
if (!system || system->vbox()) {
return vStaffIdx();
}

Expand Down

0 comments on commit 1cfdf39

Please sign in to comment.