Commit b6c3acdb authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Solved crash when messing with the preview widget

parent 1c1817cb
......@@ -193,6 +193,8 @@ void PreviewWidget::markerStopClicked()
void PreviewWidget::createNewClipFromMarkers()
{
Media* selectedMedia = m_renderer->getMedia();
if ( selectedMedia == NULL )
return ;
qint64 beg = m_ui->rulerWidget->getMarker( PreviewRuler::Start );
qint64 end = m_ui->rulerWidget->getMarker( PreviewRuler::Stop );
......
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