Merge pull request #2044 from Tilka/load_file
DolphinWX: fix -e parameter
This commit is contained in:
commit
fd0d6d3762
|
@ -209,6 +209,7 @@ bool DolphinApp::OnInit()
|
|||
|
||||
// Gets the command line parameters
|
||||
wxCmdLineParser parser(cmdLineDesc, argc, argv);
|
||||
LoadFile = false;
|
||||
if (argc == 2 && File::Exists(argv[1].ToUTF8().data()))
|
||||
{
|
||||
LoadFile = true;
|
||||
|
|
Loading…
Reference in New Issue