diff --git a/src/core/Track.cpp b/src/core/Track.cpp index 6fb555a430e..816cbafdf83 100644 --- a/src/core/Track.cpp +++ b/src/core/Track.cpp @@ -2745,11 +2745,6 @@ void TrackView::dropEvent( QDropEvent * de ) */ void TrackView::mousePressEvent( QMouseEvent * me ) { - if( me->x()>10 ) // 10 = The width of the grip + 2 pixels to the left and right. - { - QWidget::mousePressEvent( me ); - return; - } // If previously dragged too small, restore on shift-leftclick if( height() < DEFAULT_TRACK_HEIGHT && @@ -2781,6 +2776,12 @@ void TrackView::mousePressEvent( QMouseEvent * me ) } else { + if( me->x()>10 ) // 10 = The width of the grip + 2 pixels to the left and right. + { + QWidget::mousePressEvent( me ); + return; + } + m_action = MoveTrack; QCursor c( Qt::SizeVerCursor );