From beeb0c790ce6f805e5524c2ea9a60521a1559807 Mon Sep 17 00:00:00 2001 From: James Crook Date: Tue, 30 Aug 2016 09:08:24 +0100 Subject: [PATCH] Bug 1484 - (Residual) Shift click on Wave/Label to extend (once again) It turns out that having fixed the behaviour of Shift-Click on the Track Control Panel, I'd also fixed the behaviour of Shift-Click on the wave. But then I blew it by over riding the Shift-Click behaviour on wave to use the version that does NOT horizontally extend. This change comments out the 'bShift' and so gives us the original Shift-Click behaviour on wave, without undoing the other fixes. --- src/TrackPanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index cbc07845a..9e558640a 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -6208,7 +6208,7 @@ bool TrackPanel::HandleTrackLocationMouseEvent(WaveTrack * track, wxRect &rect, bool bCtrlDown = event.ControlDown(); bool unsafe = IsUnsafe(); - if( bShift || bCtrlDown ){ + if( /*bShift ||*/ bCtrlDown ){ HandleListSelection(track, bShift, bCtrlDown, !unsafe); return true; @@ -6284,7 +6284,7 @@ bool TrackPanel::HandleLabelTrackClick(LabelTrack * lTrack, wxRect &rect, wxMous bool bCtrlDown = event.ControlDown(); bool unsafe = IsUnsafe(); - if( bShift || bCtrlDown ){ + if( /*bShift ||*/ bCtrlDown ){ HandleListSelection(lTrack, bShift, bCtrlDown, !unsafe); return true;