mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-04 10:43:08 +01:00
One less use of ProjectWindow::Get() where only a wxWindow is needed
This commit is contained in:
@@ -98,7 +98,7 @@ void ProjectAudioManager::OnAudioIOStopRecording()
|
|||||||
auto &dirManager = DirManager::Get( project );
|
auto &dirManager = DirManager::Get( project );
|
||||||
auto &projectAudioIO = ProjectAudioIO::Get( project );
|
auto &projectAudioIO = ProjectAudioIO::Get( project );
|
||||||
auto &projectFileIO = ProjectFileIO::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
|
// Only push state if we were capturing and not monitoring
|
||||||
if (projectAudioIO.GetAudioIOToken() > 0)
|
if (projectAudioIO.GetAudioIOToken() > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user