Skip to content

Commit 6624127

Browse files
committed
Prevent tuplet item being merged when regrouping rests
1 parent 3360c68 commit 6624127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engraving/editing/edit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ void Score::regroupNotesAndRests(const Fraction& startTick, const Fraction& endT
18161816
if (!cr) {
18171817
continue; // this voice is empty here
18181818
}
1819-
if (!cr->isRest() || cr->endTick() > maxTick || toRest(cr)->isGap()) {
1819+
if (!cr->isRest() || cr->tuplet() || cr->endTick() > maxTick || toRest(cr)->isGap()) {
18201820
break; // next element in the same voice is not a rest, or it exceeds the selection, or it is a gap
18211821
}
18221822
lastRest = cr;

0 commit comments

Comments
 (0)