recording:gui: was not correctly removing recording top level menu bar option

This commit is contained in:
Tyler Wilding 2018-07-15 22:28:10 -04:00 committed by lightningterror
parent 8b6ccde441
commit 3d6bfacd55
1 changed files with 4 additions and 0 deletions

View File

@ -512,6 +512,10 @@ void MainEmuFrame::Menu_EnableRecordingTools_Click(wxCommandEvent&)
{
GetMenuBar()->Insert(TopLevelMenu_Recording, &m_menuRecording, _("&Recording"));
}
else
{
GetMenuBar()->Remove(TopLevelMenu_Recording);
}
g_Conf->EmuOptions.EnableRecordingTools = checked;
SysConsole.recordingConsole.Enabled = checked;