Merge pull request #4925 from RisingFog/remove_readonly_check
Remove IsReadOnly check when stop recording
This commit is contained in:
commit
95b2b033b0
|
@ -508,13 +508,6 @@ void CFrame::OnStopRecording(wxCommandEvent& WXUNUSED(event))
|
||||||
CPU::EnableStepping(false);
|
CPU::EnableStepping(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Movie::IsReadOnly())
|
|
||||||
{
|
|
||||||
// let's make the read-only flag consistent at the start of a movie.
|
|
||||||
Movie::SetReadOnly(true);
|
|
||||||
GetMenuBar()->FindItem(IDM_RECORD_READ_ONLY)->Check();
|
|
||||||
}
|
|
||||||
|
|
||||||
Movie::EndPlayInput(false);
|
Movie::EndPlayInput(false);
|
||||||
|
|
||||||
GetMenuBar()->FindItem(IDM_STOP_RECORD)->Enable(Movie::IsMovieActive());
|
GetMenuBar()->FindItem(IDM_STOP_RECORD)->Enable(Movie::IsMovieActive());
|
||||||
|
|
Loading…
Reference in New Issue