Skip to content

Commit

Permalink
Merge pull request #24884 from mike-spa/fixCrashOnDeleteStavesAndSele…
Browse files Browse the repository at this point in the history
…ctTie

Fix crash on delete staves and select tie
  • Loading branch information
RomanPudashkin committed Sep 23, 2024
2 parents 967f2e1 + b79ae89 commit dd5ba30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/engraving/dom/note.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2262,6 +2262,9 @@ void Note::setTrack(track_idx_t val)
seg->setTrack(val);
}
}
if (m_tieBack) {
m_tieBack->setTrack2(val);
}
for (Spanner* s : m_spannerFor) {
s->setTrack(val);
}
Expand Down

0 comments on commit dd5ba30

Please sign in to comment.