Skip to content

Commit

Permalink
Merge pull request #1241 from MarcSabatella/31431-mmrest-parts
Browse files Browse the repository at this point in the history
fix #31431: create mmrests in all parts
  • Loading branch information
lasconic committed Aug 30, 2014
2 parents c5194d7 + 6e66e12 commit 4b00c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/excerptsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ void ExcerptsDialog::createExcerptClicked(QListWidgetItem* cur)
e->setScore(nscore);

nscore->setName(e->title()); // needed before AddExcerpt

nscore->style()->set(StyleIdx::createMultiMeasureRests, true);

score->startCmd();
score->undo(new AddExcerpt(nscore));
Ms::createExcerpt(nscore, e->parts());
Expand All @@ -298,7 +299,6 @@ void ExcerptsDialog::createExcerptClicked(QListWidgetItem* cur)
nscore->updateChannel();
nscore->addLayoutFlags(LayoutFlag::FIX_PITCH_VELO);
nscore->setLayoutAll(true);
nscore->style()->set(StyleIdx::createMultiMeasureRests, true);

partList->setEnabled(false);
title->setEnabled(false);
Expand Down

0 comments on commit 4b00c42

Please sign in to comment.