mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Move menu handling functions out of class AudacityProject
This commit is contained in:
@@ -1593,7 +1593,7 @@ bool AudacityApp::OnInit()
|
||||
// Mainly this is to tell users of ALPHAS who don't know that they have an ALPHA.
|
||||
// Disabled for now, after discussion.
|
||||
// project->MayCheckForUpdates();
|
||||
project->OnHelpWelcome(*project);
|
||||
GetMenuCommandHandler(*project).OnHelpWelcome(*project);
|
||||
}
|
||||
|
||||
// JKC 10-Sep-2007: Enable monitoring from the start.
|
||||
@@ -1686,7 +1686,7 @@ void AudacityApp::OnKeyDown(wxKeyEvent &event)
|
||||
gAudioIO->GetNumCaptureChannels() == 0) ||
|
||||
scrubbing)
|
||||
// ESC out of other play (but not record)
|
||||
project->OnStop(*project);
|
||||
GetMenuCommandHandler(*project).OnStop(*project);
|
||||
else
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user