Merge pull request #5883 from sepalani/term-close
DolphinWX: Prevent Dolphin to be shutdown when closing cmd.exe
This commit is contained in:
commit
1385444d86
|
@ -119,6 +119,10 @@ bool DolphinApp::OnInit()
|
||||||
|
|
||||||
ParseCommandLine();
|
ParseCommandLine();
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
FreeConsole();
|
||||||
|
#endif
|
||||||
|
|
||||||
UICommon::SetUserDirectory(m_user_path.ToStdString());
|
UICommon::SetUserDirectory(m_user_path.ToStdString());
|
||||||
UICommon::CreateDirectories();
|
UICommon::CreateDirectories();
|
||||||
InitLanguageSupport(); // The language setting is loaded from the user directory
|
InitLanguageSupport(); // The language setting is loaded from the user directory
|
||||||
|
|
Loading…
Reference in New Issue