From b47ecf36b8ea5b7b9866c8f7c1b0e17a1cef8fb3 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Thu, 17 May 2007 06:24:24 +0000 Subject: [PATCH] Extend song when note gets extended --- Sources/VLModel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 3c94382..f71ad68 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -1126,6 +1126,8 @@ void VLSong::ExtendNote(size_t measure, VLFraction at) k = fMeasures[++measure].fMelody.begin(); } } + if (measure+1 == fMeasures.size()) + AddMeasure(); } break; }