mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 08:58:06 +02:00
One less use of ProjectWindow::Get() where only a wxWindow is needed
This commit is contained in:
parent
f99d564fd6
commit
a046d9906c
@ -98,7 +98,7 @@ void ProjectAudioManager::OnAudioIOStopRecording()
|
||||
auto &dirManager = DirManager::Get( project );
|
||||
auto &projectAudioIO = ProjectAudioIO::Get( project );
|
||||
auto &projectFileIO = ProjectFileIO::Get( project );
|
||||
auto &window = ProjectWindow::Get( project );
|
||||
auto &window = GetProjectFrame( project );
|
||||
|
||||
// Only push state if we were capturing and not monitoring
|
||||
if (projectAudioIO.GetAudioIOToken() > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user