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
This commit is contained in:
Glenn Rice 2010-07-26 13:22:42 +00:00
commit ce3eb85d96

View file

@ -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)