Skip to content

Commit

Permalink
fix musescore#15866 - correct playback of drum palette
Browse files Browse the repository at this point in the history
children notes of Chord needs correct track set
  • Loading branch information
sammik authored and willkell committed May 26, 2023
1 parent 337cae4 commit 4876df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/palette/view/widgets/drumsetpalette.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void DrumsetPalette::previewSound(const Chord* chord, bool newChordSelected, con

Chord* preview = chord->clone();
preview->setParent(inputState.segment);
preview->setStaffIdx(engraving::track2staff(inputState.currentTrack));
preview->setTrack(inputState.currentTrack);

playback()->playElements({ preview });

Expand Down

0 comments on commit 4876df1

Please sign in to comment.