mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-29 23:19:28 +02:00
Remove wxLogNull declaration from LoadModule(wxString fname) as it obviated subsequent calls to wxLogDebug().
Add call to wxLog::FlushActive() to end of AudacityApp::OnInit() so calls to wxLog*() in Load*() calls get written to log.
This commit is contained in:
parent
f48d2ad721
commit
2362aca9a6
@ -1306,6 +1306,8 @@ bool AudacityApp::OnInit()
|
||||
|
||||
mWindowRectAlreadySaved = FALSE;
|
||||
|
||||
wxLog::FlushActive(); // Make sure all log messages are written.
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,6 @@ tpRegScriptServerFunc scriptFn;
|
||||
void LoadModule(wxString fname)
|
||||
{
|
||||
wxLogDebug(wxT("About to load %s"), fname.c_str() );
|
||||
wxLogNull logNo;
|
||||
tModuleInit mainFn = NULL;
|
||||
|
||||
// As a courtesy to some modules that might be bridges to
|
||||
|
Loading…
x
Reference in New Issue
Block a user