Skip to content

Commit

Permalink
fix #29591: Percussion staff resulting from MIDI import shows key sig…
Browse files Browse the repository at this point in the history
…nature and accidentals
  • Loading branch information
lasconic committed Aug 14, 2014
1 parent 06144e4 commit f62d764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mscore/importmidi.cpp
Expand Up @@ -723,6 +723,7 @@ void createInstruments(Score *score, QList<MTrack> &tracks)

if (track.mtrack->drumTrack()) {
s->setInitialClef(ClefType::PERC);
s->setStaffType(StaffType::preset(StaffTypes::PERC_DEFAULT));
part->instr()->setDrumset(smDrumset);
part->instr()->setUseDrumset(true);
}
Expand Down

0 comments on commit f62d764

Please sign in to comment.