Skip to content

Commit

Permalink
fix #66276: shift from A4 to Letter on My First Score
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Jun 22, 2015
1 parent 563b7d1 commit acb0991
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1992,11 +1992,16 @@ static void loadScores(const QStringList& argv)
Score* score = mscore->readScore(preferences.startScore);
if (preferences.startScore.startsWith(":/") && score) {
score->setPageFormat(*MScore::defaultStyle()->pageFormat());
score->doLayout();
score->setCreated(true);
}
if (score == 0) {
score = mscore->readScore(":/data/My_First_Score.mscz");
score->setCreated(true);
if (score) {
score->setPageFormat(*MScore::defaultStyle()->pageFormat());
score->doLayout();
score->setCreated(true);
}
}
if (score)
currentScoreView = mscore->appendScore(score);
Expand Down

0 comments on commit acb0991

Please sign in to comment.