Merge pull request #5883 from sepalani/term-close

DolphinWX: Prevent Dolphin to be shutdown when closing cmd.exe
This commit is contained in:
Leo Lam 2017-08-07 00:50:31 +08:00 committed by GitHub
commit 1385444d86
1 changed files with 4 additions and 0 deletions

View File

@ -119,6 +119,10 @@ bool DolphinApp::OnInit()
ParseCommandLine();
#ifdef _WIN32
FreeConsole();
#endif
UICommon::SetUserDirectory(m_user_path.ToStdString());
UICommon::CreateDirectories();
InitLanguageSupport(); // The language setting is loaded from the user directory