From f8a508f9393364e5ebdecfba562d64861867bb27 Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Mon, 22 May 2017 06:09:39 +0900 Subject: [PATCH] Fixes #3563 (#3567) Added m_pattern->updateLength(); in PianoRoll::shiftPos --- src/gui/editors/PianoRoll.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 003082594..905ba9bda 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -997,6 +997,7 @@ void PianoRoll::shiftPos( int amount ) //shift notes pos by amount } m_pattern->rearrangeAllNotes(); + m_pattern->updateLength(); m_pattern->dataChanged(); // we modified the song