Fix crasher on division change

This commit is contained in:
Matthias Neeracher 2008-08-16 20:42:37 +00:00
parent 0debd16015
commit cb57ba9a67

View File

@ -1178,6 +1178,8 @@ static VLNoteList Realign(const VLNoteList & notes,
at += n.fDuration; at += n.fDuration;
} }
} }
} else {
newNotes = notes;
} }
if (fromProp.fDivisions != toProp.fDivisions) { if (fromProp.fDivisions != toProp.fDivisions) {
VLRealigner realign(fromProp.fDivisions, toProp.fDivisions); VLRealigner realign(fromProp.fDivisions, toProp.fDivisions);