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

TracksView: When items are overlapping, take the one with the higher Z value.

parent b4d29496
......@@ -943,7 +943,7 @@ TracksView::mousePressEvent( QMouseEvent *event )
else if ( event->modifiers() == Qt::NoModifier &&
event->button() == Qt::LeftButton &&
tool() == TOOL_DEFAULT &&
mediaCollisionList.count() == 1 )
mediaCollisionList.count() >= 1 )
{
AbstractGraphicsItem *item = mediaCollisionList.at( 0 );
......
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