mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Another fix for one of the crashes ;) when closing Dolphin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4753 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ec790584aa
commit
f97b782551
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ void CFrame::DoRemovePage(wxWindow * Win, bool _Hide)
|
||||||
{
|
{
|
||||||
GetNotebookFromId(i)->RemovePage(GetNotebookFromId(i)->GetPageIndex(Win));
|
GetNotebookFromId(i)->RemovePage(GetNotebookFromId(i)->GetPageIndex(Win));
|
||||||
// Reparent to avoid destruction if the notebook is closed and destroyed
|
// Reparent to avoid destruction if the notebook is closed and destroyed
|
||||||
Win->Reparent(this);
|
if (!Win->IsBeingDeleted()) Win->Reparent(this);
|
||||||
if (_Hide) Win->Hide();
|
if (_Hide) Win->Hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue