mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 15:39:27 +02:00
Bug 1548 - Newly recorded tracks do not acquire focus
Problem: The previous fix (+ possibly later changes) meant that this was working for mono tracks but not stereo. When recording in a new stereo track, the first track in the project became the focus. The existing code sets the second of the two new tracks to be the focus before the tracks have been grouped into a stereo pair. Fix: Set the first of the new tracks to be the focus.
This commit is contained in:
parent
c9fbd283b7
commit
9cfff86763
@ -685,10 +685,10 @@ bool ProjectAudioManager::DoRecord(AudacityProject &project,
|
||||
}
|
||||
|
||||
transportTracks.captureTracks.push_back(newTrack);
|
||||
// Bug 1548. New track needs the focus.
|
||||
TrackFocus::Get( *p ).Set( newTrack.get() );
|
||||
}
|
||||
TrackList::Get( *p ).GroupChannels(*first, recordingChannels);
|
||||
// Bug 1548. First of new tracks needs the focus.
|
||||
TrackFocus::Get(*p).Set(first);
|
||||
}
|
||||
|
||||
//Automated Input Level Adjustment Initialization
|
||||
|
Loading…
x
Reference in New Issue
Block a user