1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 17:39:25 +02:00

Shift+Drag of clips between tracks was never allowed up to 2.4.2...

... and in 3.0.0 started crashing instead.  Just disallow it again, no
functionality lost.

Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
This commit is contained in:
Paul Licameli 2021-07-21 06:52:36 -04:00 committed by Panagiotis Vasilopoulos
parent 55d9d57a95
commit dbdd2a39ef
No known key found for this signature in database
GPG Key ID: FD806FDB3B2C5270

View File

@ -622,6 +622,10 @@ namespace {
TrackList &trackList, Track &capturedTrack, Track &track,
ClipMoveState &state)
{
if (state.shifters.empty())
// Shift + Dragging hasn't yet supported vertical movement
return false;
// Accumulate new pairs for the correspondence, and merge them
// into the given correspondence only on success
Correspondence newPairs;