mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-15 22:12:05 +00:00
Merge pull request #793 from kamiyo/fixframetools
Update frametools.cpp to fix crashing when changing themes.
This commit is contained in:
commit
e5ca4f604c
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ void CFrame::RecreateToolbar()
|
||||||
{
|
{
|
||||||
m_Mgr->DetachPane(m_ToolBar);
|
m_Mgr->DetachPane(m_ToolBar);
|
||||||
m_ToolBar->Destroy();
|
m_ToolBar->Destroy();
|
||||||
|
m_ToolBar = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
long TOOLBAR_STYLE = wxTB_DEFAULT_STYLE | wxTB_TEXT;
|
long TOOLBAR_STYLE = wxTB_DEFAULT_STYLE | wxTB_TEXT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue