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:
parent
749fc3bccc
commit
9dd9a75dbe
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue