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:
parent
141c42bbdb
commit
8242937502
@ -1465,10 +1465,14 @@ bool AudacityApp::OnInit()
|
|||||||
return false;
|
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++)
|
for (size_t i = 0, cnt = parser->GetParamCount(); i < cnt; i++)
|
||||||
{
|
{
|
||||||
MRUOpen(parser->GetParam(i));
|
MRUOpen(parser->GetParam(i));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
delete parser;
|
delete parser;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user