Skip to content

Commit

Permalink
Merge pull request #3300 from heuchi/247641_two-note-tremolo-corrupte…
Browse files Browse the repository at this point in the history
…d-part-creation

fix #247641: Tremolos between notes corrupted on part creation
  • Loading branch information
lasconic committed Mar 2, 2018
2 parents 4ce8211 + 2fdca07 commit b2274fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/chord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,12 @@ Chord::Chord(const Chord& c, bool link)
}
if (c._tremolo) {
Tremolo* t = new Tremolo(*(c._tremolo));
add(t);
if (link) {
score()->undo(new Link(const_cast<Tremolo*>(c._tremolo), t));
if (c._tremolo->twoNotes())
t->setChords(0, 0);
}
add(t);
}

for (Element* e : c.el()) {
Expand Down

0 comments on commit b2274fb

Please sign in to comment.