Commit 4e7a0055 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix a bug where rushes can't be moved in some cases

parent 8ddc86fc
......@@ -168,7 +168,7 @@ void TracksView::moveMediaItem( const QUuid& uuid, unsigned int track, qint64 ti
void TracksView::moveMediaItem( AbstractGraphicsMediaItem* item, QPoint position )
{
GraphicsTrack* track = NULL;
QList<QGraphicsItem*> list = items( position );
QList<QGraphicsItem*> list = items( 0, position.y() );
for ( int i = 0; i < list.size(); ++i )
{
track = qgraphicsitem_cast<GraphicsTrack*>( list.at(i) );
......
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