mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinWX: Fix items vanishing from toolbar
Commit 33487ab5f2
introduced a regression
where items would vanish from the toolbar. This adds a call to Realize()
after the reinsertions of the play/pause button as required per
documentation.
Thanks to Simonwayneee for noticing this!
This commit is contained in:
@ -1804,6 +1804,7 @@ void CFrame::UpdateGUI()
|
||||
m_ToolBar->InsertTool(position, IDM_PLAY, _("Play"), m_Bitmaps[Toolbar_Play],
|
||||
wxNullBitmap, wxITEM_NORMAL, _("Play"));
|
||||
}
|
||||
m_ToolBar->Realize();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user