Commit 243fd39c authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen

Timeline: Set formats for ClipHelper

Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 2fa953c0
......@@ -811,6 +811,7 @@ TracksView::dropEvent( QDropEvent *event )
event->acceptProposedAction();
m_dragAudioItem->m_oldTrack = m_dragAudioItem->track()->trackWorkflow();
m_dragAudioItem->clipHelper()->setFormats( ClipHelper::Audio );
Commands::trigger( new Commands::Clip::Add( m_dragAudioItem->clipHelper(),
m_dragAudioItem->track()->trackWorkflow(),
......@@ -828,6 +829,7 @@ TracksView::dropEvent( QDropEvent *event )
event->acceptProposedAction();
m_dragVideoItem->m_oldTrack = m_dragVideoItem->track()->trackWorkflow();
m_dragVideoItem->clipHelper()->setFormats( ClipHelper::Video );
Commands::trigger( new Commands::Clip::Add( m_dragVideoItem->clipHelper(),
m_dragVideoItem->track()->trackWorkflow(),
......
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