Entering tuplet in linked staff causes crash

• Mar 29, 2013 - 09:15
Type
Functional
Severity
S2 - Critical
Status
closed
Project

MuseScore 143dbea4a1

  1. Create a score with two linked staves
  2. select rest on first staff
  3. Press N
  4. Press Ctrl + 3

Crash


Comments

The issue is at or around line 1214 in function Score::undoAddCR() (file libmscore/undo,cpp) which has been commented out:
//if (t->elements().isEmpty() || t->elements().front() == cr) {
and replace by:
if (t->elements().front() == cr) {
which will crash because the t tuplet will initially have no elements.

I tried switching the comments, but tuplets get weird! The logic of tuplet creation for linked staves is probably to be redone.

M.