Skip to content

Commit

Permalink
fix #30736
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Aug 25, 2014
1 parent b2ebcd6 commit 7b097b7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions libmscore/excerpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ void cloneStaves(Score* oscore, Score* score, const QList<int>& map)
if (ot) {
Tuplet* nt = tupletMap.findNew(ot);
if (nt == 0) {
nt = new Tuplet(*ot);
// nt = new Tuplet(*ot);
nt = static_cast<Tuplet*>(ot->linkedClone());
nt->clear();
nt->setTrack(track);
nt->setScore(score);
Expand Down Expand Up @@ -542,7 +543,8 @@ void cloneStaff(Staff* srcStaff, Staff* dstStaff)
if (ot) {
Tuplet* nt = tupletMap.findNew(ot);
if (nt == 0) {
nt = new Tuplet(*ot);
// nt = new Tuplet(*ot);
nt = static_cast<Tuplet*>(ot->linkedClone());
nt->clear();
nt->setTrack(dstTrack);
nt->setParent(m);
Expand Down Expand Up @@ -667,7 +669,8 @@ void cloneStaff2(Staff* srcStaff, Staff* dstStaff, int stick, int etick)
if (ot) {
Tuplet* nt = tupletMap.findNew(ot);
if (nt == 0) {
nt = new Tuplet(*ot);
// nt = new Tuplet(*ot);
nt = static_cast<Tuplet*>(ot->linkedClone());
nt->clear();
nt->setTrack(dstTrack);
nt->setParent(m);
Expand Down

0 comments on commit 7b097b7

Please sign in to comment.