From 885b52cfa88728c788b3e0353ad8ce7daf1504c4 Mon Sep 17 00:00:00 2001 From: Hannu Haahti Date: Mon, 28 Apr 2014 01:07:36 +0300 Subject: [PATCH] keep deletion with middle click --- src/core/track.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/core/track.cpp b/src/core/track.cpp index 5aa7a6be2..d75cc91b4 100644 --- a/src/core/track.cpp +++ b/src/core/track.cpp @@ -599,6 +599,17 @@ void trackContentObjectView::mousePressEvent( QMouseEvent * _me ) remove(); } } + else if( _me->button() == Qt::MidButton ) + { + if( _me->modifiers() & Qt::ControlModifier ) + { + m_tco->toggleMute(); + } + else if( fixedTCOs() == false ) + { + remove(); + } + } }