Merge pull request #8167 from JosJuice/recording-export-enable

DolphinQt: Don't leave Export Recording disabled always
This commit is contained in:
Connor McLaughlin 2019-06-08 19:58:12 +10:00 committed by GitHub
commit f75b254d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -110,7 +110,10 @@ void MenuBar::OnEmulationStateChanged(Core::State state)
// Movie // Movie
m_recording_read_only->setEnabled(running); m_recording_read_only->setEnabled(running);
if (!running) if (!running)
{
m_recording_stop->setEnabled(false); m_recording_stop->setEnabled(false);
m_recording_export->setEnabled(false);
}
m_recording_play->setEnabled(!running); m_recording_play->setEnabled(!running);
// Options // Options
@ -1109,6 +1112,7 @@ void MenuBar::OnRecordingStatusChanged(bool recording)
{ {
m_recording_start->setEnabled(!recording); m_recording_start->setEnabled(!recording);
m_recording_stop->setEnabled(recording); m_recording_stop->setEnabled(recording);
m_recording_export->setEnabled(recording);
} }
void MenuBar::OnReadOnlyModeChanged(bool read_only) void MenuBar::OnReadOnlyModeChanged(bool read_only)