From 3d2482f5c37082e361dbd61691dc4714da664bae Mon Sep 17 00:00:00 2001 From: lasconic Date: Wed, 25 Feb 2015 19:55:31 +0100 Subject: [PATCH] two notes tremolo shouldn't work between two chords with different duration --- libmscore/chord.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libmscore/chord.cpp b/libmscore/chord.cpp index 3496be9e6c..8a041021e3 100644 --- a/libmscore/chord.cpp +++ b/libmscore/chord.cpp @@ -2430,6 +2430,11 @@ Element* Chord::drop(const DropData& data) return 0; } Chord* ch2 = static_cast(s->element(track())); + if (ch2->duration() != duration()) { + qDebug("no matching chord for second note of tremolo found"); + delete e; + return 0; + } t->setChords(this, ch2); } }