Commit ef81c0e3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

TracksView: Add an empty track when an effect is added to the upper track.

parent 7a0b775b
......@@ -783,6 +783,8 @@ TracksView::dropEvent( QDropEvent *event )
track->trackWorkflow() ) );
m_dragEffectItem->m_oldTrack = track->trackWorkflow();
event->acceptProposedAction();
if ( getTrack( Workflow::VideoTrack, m_numVideoTrack - 1 )->childItems().count() > 0 )
addTrack( Workflow::VideoTrack );
break ;
}
}
......
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