From c67fa1c65984f1982ffb19c95614f0f50a81e249 Mon Sep 17 00:00:00 2001 From: "Maurizio M. Gavioli" Date: Sat, 29 Mar 2014 14:03:41 +0100 Subject: [PATCH] Tick where to place the newly added rests was wrong. --- libmscore/measure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmscore/measure.cpp b/libmscore/measure.cpp index c9627732a5..a424a09381 100644 --- a/libmscore/measure.cpp +++ b/libmscore/measure.cpp @@ -1662,7 +1662,7 @@ void Measure::adjustToLen(Fraction nf) // set the existing rest to the first value of the duration list score()->undo(new ChangeChordRestLen(rest, durList[0])); // add rests for any other duration list value - int tickOffset = durList[0].ticks(); + int tickOffset = tick() + durList[0].ticks(); for (int i = 1; i < durList.count(); i++) { Rest* newRest = new Rest(score()); newRest->setDurationType(durList.at(i));