Log window: better handling of display size.

Fixes Issue #1092 , don't remember the display size when the log window is maximized since the display size gets too big and the next time you open PCSX2 you'll see a gigantic log window ;)

V2: Fix a wrong indentation.
This commit is contained in:
Akash 2016-01-25 15:05:54 +05:30
parent 30c4456b85
commit af855bc295
1 changed files with 2 additions and 1 deletions

View File

@ -691,7 +691,8 @@ void ConsoleLogFrame::OnMoveAround( wxMoveEvent& evt )
void ConsoleLogFrame::OnResize( wxSizeEvent& evt )
{
m_conf.DisplaySize = GetSize();
if (!ConsoleLogFrame::IsMaximized())
m_conf.DisplaySize = GetSize();
evt.Skip();
}