Skip to content

Commit

Permalink
Fix add local time signatures in non-chronological order
Browse files Browse the repository at this point in the history
Resolves: musescore#23411

Backport of musescore#26100, commit 2
  • Loading branch information
mike-spa authored and Jojo-Schmitz committed Jan 16, 2025
1 parent 9e47957 commit 8360116
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,8 @@ bool Score::rewriteMeasures(Measure* fm, const Fraction& ns, int staffIdx)
return true;
Segment* s = nm->undoGetSegment(SegmentType::TimeSig, nm->tick());
for (int i = 0; i < nstaves(); ++i) {
if (staffIdx != -1 && i != staffIdx)
continue;
if (!s->element(i * VOICES)) {
TimeSig* ots = staff(i)->timeSig(nm->tick());
if (ots) {
Expand Down

0 comments on commit 8360116

Please sign in to comment.