mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 01:21:11 +02:00
Fix double open of files specified on the command line (wx3 issue)
This commit is contained in:
parent
141c42bbdb
commit
8242937502
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user