pcsx2: Do not save console position when maximised

This commit is contained in:
Jonathan Li 2016-02-04 18:55:06 +00:00
parent 93dc772565
commit d6e702a9eb
1 changed files with 3 additions and 2 deletions

View File

@ -691,13 +691,14 @@ void ConsoleLogFrame::OnMoveAround( wxMoveEvent& evt )
m_conf.AutoDock = true;
}
}
m_conf.DisplayPosition = GetPosition();
if (!IsMaximized())
m_conf.DisplayPosition = GetPosition();
evt.Skip();
}
void ConsoleLogFrame::OnResize( wxSizeEvent& evt )
{
if (!ConsoleLogFrame::IsMaximized())
if (!IsMaximized())
m_conf.DisplaySize = GetSize();
evt.Skip();
}