Commit e6184c29 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Be sure to split a clip only when the appropriate tool is selected

parent d5b2f695
......@@ -261,7 +261,7 @@ void GraphicsMovieItem::mousePressEvent( QGraphicsSceneMouseEvent* event )
TracksView* tv = Timeline::getInstance()->tracksView();
if ( tv->tool() == TOOL_DEFAULT )
setCursor( Qt::ClosedHandCursor );
else
else if ( tv->tool() == TOOL_CUT )
emit split( this, qRound64( event->pos().x() ) );
}
......
Supports Markdown
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