1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-16 00:27:42 +02:00

Unselect tracks before auto-selecting audio

This commit is contained in:
James Crook 2019-03-31 20:16:15 +01:00
parent 32bf03b54e
commit 0c4f611b5c

View File

@ -54,6 +54,9 @@ void DoSelectTimeAndAudioTracks
tracks->GetMinOffset(), tracks->GetEndTime());
if( bAllTracks ) {
// Unselect all tracks before selecting audio.
for (auto t : tracks->Any())
t->SetSelected(false);
for (auto t : tracks->Any<WaveTrack>())
t->SetSelected(true);