GUI: Hide console instead of closing

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4089 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-08-27 20:24:42 +00:00
parent 50425dee31
commit 90d979554c
1 changed files with 3 additions and 1 deletions

View File

@ -1143,7 +1143,9 @@ void CFrame::ToggleConsole(bool Show, int i)
#else
Console->Close();
#endif
if(GetConsoleWindow()) Console->Close();
#ifdef _WIN32
if(GetConsoleWindow()) ShowWindow(GetConsoleWindow(),SW_HIDE);
#endif
}
// Hide pane