Skip to content

Commit

Permalink
Merge pull request #4339 from PhysSong/tcomove
Browse files Browse the repository at this point in the history
Fix occasional crash when moving TCOs
  • Loading branch information
Wallacoloo committed May 9, 2018
2 parents 03aa5fb + 511c7a6 commit 5d90aec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Track.cpp
Expand Up @@ -143,7 +143,9 @@ void TrackContentObject::movePosition( const MidiTime & pos )
{
if( m_startPosition != pos )
{
Engine::mixer()->requestChangeInModel();
m_startPosition = pos;
Engine::mixer()->doneChangeInModel();
Engine::getSong()->updateLength();
emit positionChanged();
}
Expand Down

0 comments on commit 5d90aec

Please sign in to comment.