(Netplay) Disable record input checkbox while a game is running.

Fixes issue 6734.
This commit is contained in:
Rachel Bryk 2013-10-15 17:28:01 -04:00
parent b11cf1fa10
commit 6eb216fc77
1 changed files with 2 additions and 0 deletions

View File

@ -473,6 +473,7 @@ void NetPlayDiag::OnMsgStartGame()
GetEventHandler()->AddPendingEvent(evt); GetEventHandler()->AddPendingEvent(evt);
if (m_start_btn) if (m_start_btn)
m_start_btn->Disable(); m_start_btn->Disable();
m_record_chkbox->Disable();
} }
void NetPlayDiag::OnMsgStopGame() void NetPlayDiag::OnMsgStopGame()
@ -481,6 +482,7 @@ void NetPlayDiag::OnMsgStopGame()
GetEventHandler()->AddPendingEvent(evt); GetEventHandler()->AddPendingEvent(evt);
if (m_start_btn) if (m_start_btn)
m_start_btn->Enable(); m_start_btn->Enable();
m_record_chkbox->Enable();
} }
void NetPlayDiag::OnAdjustBuffer(wxCommandEvent& event) void NetPlayDiag::OnAdjustBuffer(wxCommandEvent& event)