mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-14 12:08:33 -04:00
Fix occasional crash when moving TCOs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user