Skip to content

Commit

Permalink
fix tempo of imported GP files
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jun 21, 2013
1 parent 9e7b66b commit dd7b860
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mscore/importgtp.cpp
Expand Up @@ -2825,7 +2825,15 @@ Score::FileError importGTP(Score* score, const QString& name)
score->setSaved(false);
score->setCreated(true);
delete gp;

score->setPlaylistDirty(true);
score->rebuildMidiMapping();
score->updateChannel();
score->updateNotes();

score->setLayoutAll(true);
score->addLayoutFlags(LAYOUT_FIX_TICKS | LAYOUT_FIX_PITCH_VELO);
score->doLayout();
return Score::FILE_NO_ERROR;
}
}
Expand Down

0 comments on commit dd7b860

Please sign in to comment.