Commit 406f6df8 authored by Ludovic Fauvet's avatar Ludovic Fauvet

timeline: avoid the "freeze" when the first clip is added to the timeline.

parent a4653c7e
......@@ -396,7 +396,8 @@ TracksView::moveMediaItem( AbstractGraphicsMediaItem *item, QPoint position )
// When the mouse pointer is not on a track,
// use the last known track.
// This avoids "breaks" when moving a rush
if ( !lastKnownTrack ) return;
if ( !lastKnownTrack )
lastKnownTrack = getTrack( MainWorkflow::VideoTrack, 0 );
track = lastKnownTrack;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment