1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-11 17:41:15 +02:00

Fix double open of files specified on the command line (wx3 issue)

This commit is contained in:
Leland Lucius 2015-08-16 04:01:49 -05:00
parent 141c42bbdb
commit 8242937502

View File

@ -1465,10 +1465,14 @@ bool AudacityApp::OnInit()
return false;
}
// As of wx3, there's no need to process the filename arguments as they
// will be sent view the MacOpenFile() method.
#if !defined(__WXMAC__)
for (size_t i = 0, cnt = parser->GetParamCount(); i < cnt; i++)
{
MRUOpen(parser->GetParam(i));
}
#endif
}
delete parser;