Merge pull request #4925 from RisingFog/remove_readonly_check

Remove IsReadOnly check when stop recording
This commit is contained in:
Mat M 2017-02-21 10:53:24 -05:00 committed by GitHub
commit 95b2b033b0
1 changed files with 0 additions and 7 deletions

View File

@ -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());