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:
parent
e7c8ef359b
commit
2098271bc8
|
@ -526,6 +526,10 @@ void CFrame::OnActive(wxActivateEvent& event)
|
||||||
|
|
||||||
void CFrame::OnClose(wxCloseEvent& 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
|
// Don't forget the skip or the window won't be destroyed
|
||||||
event.Skip();
|
event.Skip();
|
||||||
// Save GUI settings
|
// Save GUI settings
|
||||||
|
|
Loading…
Reference in New Issue