(Netplay) Disable record input checkbox while a game is running.
Fixes issue 6734.
This commit is contained in:
parent
b11cf1fa10
commit
6eb216fc77
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue