mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Unselect tracks before auto-selecting audio
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user