diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-07-26 13:22:42 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-07-26 13:22:42 +0000 |
| commit | ce3eb85d96b63dda6e0ecf58c53e280888075bdf (patch) | |
| tree | ab1558cc2d7f49cbfe0106206e19e69a1df6f711 /Source/Core | |
| parent | 5be58c6772c131cecbc1786a14f5265a9d99e159 (diff) | |
Fix an issue introduced in my last commit. When the debugger is not used and the log or console windows are closed from the menu the notebook is not closed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5981 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Src/FrameAui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/FrameAui.cpp b/Source/Core/DolphinWX/Src/FrameAui.cpp index 2d45bab0ba..91347a5fa6 100644 --- a/Source/Core/DolphinWX/Src/FrameAui.cpp +++ b/Source/Core/DolphinWX/Src/FrameAui.cpp @@ -420,7 +420,8 @@ void CFrame::DoRemovePage(wxWindow *Win, bool bHide) } } } - AddRemoveBlankPage(); + if (g_pCodeWindow) + AddRemoveBlankPage(); } void CFrame::DoAddPage(wxWindow *Win, int i, bool Float) |
