mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-18 17:47:41 +02:00
Don't count note tracks (MIDI) as audio in auto-select.
This commit is contained in:
parent
09dab612fe
commit
939bbc95a2
@ -41,7 +41,7 @@ void DoSelectTimeAndTracks
|
||||
}
|
||||
|
||||
// Temporal selection (not TimeTrack selection)
|
||||
// potentially for all wave or not tracks.
|
||||
// potentially for all wave tracks.
|
||||
void DoSelectTimeAndAudioTracks
|
||||
(AudacityProject &project, bool bAllTime, bool bAllTracks)
|
||||
{
|
||||
@ -56,8 +56,7 @@ void DoSelectTimeAndAudioTracks
|
||||
if( bAllTracks ) {
|
||||
for (auto t : tracks->Any()){
|
||||
auto wt = dynamic_cast<WaveTrack *>(t);
|
||||
auto nt = dynamic_cast<NoteTrack *>(t);
|
||||
if( wt || nt )
|
||||
if( wt )
|
||||
t->SetSelected(true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user