Skip to content

Commit

Permalink
fix #247641: Tremolos between notes corrupted on part creation
Browse files Browse the repository at this point in the history
  • Loading branch information
heuchi authored and lasconic committed Mar 2, 2018
1 parent 25c3cbb commit 9c80213
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 @@ -245,12 +245,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 9c80213

Please sign in to comment.