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 authored and BaraMGB committed May 21, 2017
1 parent 6970c88 commit f8a508f
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 f8a508f

Please sign in to comment.