1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux/MacOSX: Load preferences if only volume path is given in command line and GUI mode enabled.

This commit is contained in:
Mounir IDRASSI
2015-03-08 20:08:16 +01:00
parent f80f7d47d5
commit 279c99fdf8
3 changed files with 23 additions and 6 deletions

View File

@@ -501,10 +501,8 @@ namespace VeraCrypt
LangString.Init();
Core->Init();
wxCmdLineParser parser;
parser.SetCmdLine (argc, argv);
CmdLine.reset (new CommandLineInterface (parser, InterfaceType));
CmdLine.reset (new CommandLineInterface (argc, argv, InterfaceType));
SetPreferences (CmdLine->Preferences);
Core->SetApplicationExecutablePath (Application::GetExecutablePath());