Skip to content

Commit

Permalink
fix #29746: wrong staff on percussion note entry
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Aug 16, 2014
1 parent 30d3182 commit e41b138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/scoreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4773,7 +4773,7 @@ void ScoreView::cmdAddPitch(int note, bool addFlag)
return;
}
is.setDrumNote(pitch);
is.setTrack(is.track() / VOICES + voice);
is.setTrack((is.track() / VOICES) * VOICES + voice);
octave = pitch / 12;
}
else {
Expand Down

0 comments on commit e41b138

Please sign in to comment.