Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added m_pattern->updateLength(); in PianoRoll::shiftPos
  • Loading branch information
PhysSong committed Jul 8, 2017
1 parent 63c1535 commit a87f453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a87f453

Please sign in to comment.