[branch 1.2] Crash on copying tuplets
Setup: SVN rev. 5215; compiled with latest Qt SDK (Qt Creator 2.4, Qt lib 4.7.4) under Windows XP SP3.
1) open any score with tuplets as source (a very simple source score with just 1 tuplet is attached)
2) open any score as destination (a very simple destination score is attached)
3) select the measure containing the tuplet (or just the notes making the tuplet) in the source score
4) paste into the destination score.
The program crashes.
crash happens in function
ChordRest::readProperties(QDomElement, QList&, Measure*) (file chordrest.cpp, line 279), because in the statement:
measure = 0.
measure is passed as 0 by
Score::pasteStaff(QDomElement, ChordRest*) (file cmd.cpp, line 2465) via
Chord::read(QDomElement, QList&, Measure*) (file chord.cpp, line 882).