From af855bc2958f89785df25cd0f96b8f037c00d28c Mon Sep 17 00:00:00 2001 From: Akash Date: Mon, 25 Jan 2016 15:05:54 +0530 Subject: [PATCH] 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. --- pcsx2/gui/ConsoleLogger.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/gui/ConsoleLogger.cpp b/pcsx2/gui/ConsoleLogger.cpp index 2fd39b01c0..6040f3970f 100644 --- a/pcsx2/gui/ConsoleLogger.cpp +++ b/pcsx2/gui/ConsoleLogger.cpp @@ -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(); }