Fixes Issue 2115

Fix Dolphin from saving the minimized position causing it to load up at Xpos:-32000,Ypos:-32000

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4928 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid 2010-01-23 06:15:17 +00:00
parent e7c8ef359b
commit 2098271bc8

View File

@ -526,6 +526,10 @@ void CFrame::OnActive(wxActivateEvent& event)
void CFrame::OnClose(wxCloseEvent& event)
{
//Stop Dolphin from saving the minimized Xpos and Ypos
if(main_frame->IsIconized())
main_frame->Iconize(false);
// Don't forget the skip or the window won't be destroyed
event.Skip();
// Save GUI settings